From: Christian Brabandt Date: Sat, 2 Nov 2024 15:29:55 +0000 (+0100) Subject: git: ignore reformatting commit for git-blame (after v9.1.0829) X-Git-Tag: v9.1.0830~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=88542445871d882b2a0e79410774797a73fe9e60;p=thirdparty%2Fvim.git 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 --- diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs new file mode 100644 index 0000000000..f859027d68 --- /dev/null +++ b/.git-blame-ignore-revs @@ -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