Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 9019c28

Browse files
committedMar 3, 2022
Add .git-blame-ignore-revs (#8464)
Ignore mass-reformatting commits Include the clang-format, and the previous astyle Based on the idea from black https://black.readthedocs.io/en/stable/guides/introducing_black_to_your_project.html#avoiding-ruining-git-blame To be used with git CLI when exploring some specific file history ``` $ git blame --ignore-revs-file .git-blame-ignore-revs -- file.cpp ``` Or, by modifying the config to apply globally ``` $ git config blame.ignoreRevsFile .git-blame-ignore-revs ``` (note that the by default config will apply only for the current repository)
1 parent 9121332 commit 9019c28

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

‎.git-blame-ignore-revs

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
9bdcd4f36a2e5285267b69b17e8fc26482dc1c72
2+
eea9999dc5eaf464a432f77d5b65269f9baf198d
3+
98125f88605cd7e46e9be4e1b3ad0600dd5d2b51
4+
91213321df5d49622e7d03426da8366197fe0db0

0 commit comments

Comments
 (0)
Please sign in to comment.