Skip to content

Commit

Permalink
[TASK] Ignore Code style fixes/reformattings in "git blame"
Browse files Browse the repository at this point in the history
This shows the real change commit when running "git blame"
instead of showing the commit where the code style was changed.

This needs to be enabled on a per-checkout basis with
$ git config blame.ignoreRevsFile .git-blame-ignore-revs

See
https://git-scm.com/docs/git-config#Documentation/git-config.txt-blameignoreRevsFile
  • Loading branch information
cweiske committed Sep 6, 2024
1 parent f16e2ba commit a956766
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 @@
# [TASK] Reformat code to PSR-2
7a5e50557f1270217fd016e2035bad3171eb1b73

0 comments on commit a956766

Please sign in to comment.