From 8fe8bbec9ee3f5487a147d167db6c63366440997 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Basile=20Cl=C3=A9ment?= Date: Mon, 17 Mar 2025 18:46:13 +0100 Subject: [PATCH] chore: Add .git-blame-ignore-revs This file can be used to list reformatting commit that we don't want to see in `git blame` output. Currently includes a single commit that switched the source to 4-space tabs that shows up everywhere in old code. To use, set `git config blame.ignoreRevsFile .git-blame-ignore-revs`. --- .git-blame-ignore-revs | 12 ++++++++++++ 1 file changed, 12 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 000000000..0fe0e56f7 --- /dev/null +++ b/.git-blame-ignore-revs @@ -0,0 +1,12 @@ +# This file lists commits that should be ignored in `git blame` output +# (typically commits that reformat large amount of code). +# +# When adding commits to this file, please include the short (one-liner) +# description of the commit along with its hash for readability. +# +# Use it with: +# +# $ git config blame.ignoreRevsFile .git-blame-ignore-revs + +# Convert rest of source to 4-space indent +1bc48a78491d8a666d1a833930dc3ab4a5741fb2