From 6f08bdcd60b10ebf6a0781c7a5b9e24835721d53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yoann=20Rodi=C3=A8re?= Date: Mon, 7 Apr 2025 12:53:24 +0200 Subject: [PATCH] Add .git-blame-ignore-revs Because Intellij will error out if we set git config to use this file and it does not exist, and we do need to set git config to use this file for the main branch, at least. --- .git-blame-ignore-revs | 0 CONTRIBUTING.md | 1 + 2 files changed, 1 insertion(+) create mode 100644 .git-blame-ignore-revs diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index b4f6d3a6ab24..57b4caddbd1a 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -51,6 +51,7 @@ GitHub there are a few pre-requisite steps to follow: the linked page, this also includes: * [set up your local git install](https://help.github.com/articles/set-up-git) * clone your fork +* Instruct git to ignore certain commits when using `git blame`. From the directory of your local clone, run this: `git config blame.ignoreRevsFile .git-blame-ignore-revs` * See the wiki pages for setting up your IDE, whether you use [IntelliJ IDEA](https://hibernate.org/community/contribute/intellij-idea/) or [Eclipse](https://hibernate.org/community/contribute/eclipse-ide/)(1).