git: ignore reformatting commit for git-blame (after v9.1.0829)

See:
https://git-scm.com/docs/git-config#Documentation/git-config.txt-blameignoreRevsFile

Enable this using the following command in your copy:
git config blame.ignoreRevsFile .git-blame-ignore-revs

Github should pick it up automatically

Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Christian Brabandt
2024-11-02 16:29:55 +01:00
parent 8ce738de3f
commit 8854244587

9
.git-blame-ignore-revs Normal file
View File

@ -0,0 +1,9 @@
# When making commits that are strictly formatting/style changes, add the
# commit hash here, so git blame can ignore the change. See docs for more details:
#
# https://git-scm.com/docs/git-config#Documentation/git-config.txt-blameignoreRevsFile
#
# Run this command to always ignore formatting commits in git blame
# git config blame.ignoreRevsFile .git-blame-ignore-revs
#
8ce738de3fd7192fa6274730594305cde780074c # expand tabs to spaces in sound.c