From b1fb8150d6adac3b564575dec470a740457f66dc Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sun, 20 Nov 2022 10:20:59 -0800 Subject: Add .git-blame-ignore-revs to hide whitespace commits from git blame To use this in your local repo clone, you will need to either run `git blame --ignore-revs-file .git-blame-ignore-revs` or set it permanently with `git config blame.ignoreRevsFile .git-blame-ignore-revs` Signed-off-by: Alan Coopersmith --- .git-blame-ignore-revs | 14 ++++++++++++++ 1 file changed, 14 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 0000000..cc3222d --- /dev/null +++ b/.git-blame-ignore-revs @@ -0,0 +1,14 @@ +# This file contains revisions to be ignored by git blame. +# These revisions are expected to be formatting-only changes. +# +# Calling `git blame --ignore-revs-file .git-blame-ignore-revs` will +# tell git blame to ignore changes made by these revisions when assigning +# assigning blame, as if the change never happened. +# +# You can enable this as a default for your local repository by running +# `git config blame.ignoreRevsFile .git-blame-ignore-revs` +# Important: if you do this, then switch to a branch without this file, +# `git blame` will fail with an error. +# +# Reformat code to X.Org standard style +fa5642244aa4b0882b8604d1e693d31882a7adda -- cgit v1.2.1