Skip to content

Commit

Permalink
git: add file for ignoring commits in blame
Browse files Browse the repository at this point in the history
Problem: commits that make style changes will confuse
git blame.

Add a file for telling git to ignore those commits
when assigning blame.

git can be configured to always use this file with
'git config blame.ignoreRevsFile .git-blame-ignore-revs'
  • Loading branch information
jameshcorbett committed Jul 27, 2023
1 parent 441d6ac commit 7ef7056
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# run code through clang-format
58cad56687d785a56960e9125882df8b9919aa42

0 comments on commit 7ef7056

Please sign in to comment.