Skip to content

Commit

Permalink
Problem: git blame became more difficult with clang-format change
Browse files Browse the repository at this point in the history
Solution: let git ignore that commit when blame is ran.

Requires to set a git config:

git config blame.ignoreRevsFile .git-blame-ignore-revs

Or to pass --ignore-revs-file .git-blame-ignore-revs to git blame.
  • Loading branch information
bluca committed Dec 23, 2020
1 parent 41c4ce1 commit a6f1000
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 @@
# tree-wide clang format
41f459e1dc6f7cdedd1268298153c970e290b2ce

0 comments on commit a6f1000

Please sign in to comment.