From 88542445871d882b2a0e79410774797a73fe9e60 Mon Sep 17 00:00:00 2001 From: Christian Brabandt Date: Sat, 2 Nov 2024 16:29:55 +0100 Subject: [PATCH] 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 --- .git-blame-ignore-revs | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .git-blame-ignore-revs 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