Skip to content

Commit c28f61b

Browse files
jelmerabartlet
authored andcommitted
Add a git-blame-ignore-revs file
'git blame' can ignore certain revisions when annotating, e.g. revisions that just reformatting. Signed-off-by: Jelmer Vernooij <[email protected]> Reviewed-by: Andrew Bartlett <[email protected]> Autobuild-User(master): Andrew Bartlett <[email protected]> Autobuild-Date(master): Fri Mar 3 02:02:51 UTC 2023 on atb-devel-224
1 parent 8e830d7 commit c28f61b

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.git-blame-ignore-revs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# This file contains a list of git revisions that "git blame" should ignore.
2+
# It's mostly useful to ignore commits that just do reformatting.
3+
4+
# See https://michaelheap.com/git-ignore-rev/
5+
6+
# To use locally, run:
7+
# git config --global blame.ignoreRevsFile .git-blame-ignore-revs
8+
9+
bfa9624946a35e5645effbb20e02abba2c34a8c2

0 commit comments

Comments
 (0)