summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-11-20 12:12:35 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-11-20 12:12:35 -0800
commitd32243b670b472fc08f577957d1a3fd9bab6430d (patch)
tree46cdef5e5bfa29ba5c2fa9bd7e1b7d45bbcad455
parent73a14e8562d6d133982d89bf07ea89bf546d98e5 (diff)
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 <alan.coopersmith@oracle.com>
-rw-r--r--.git-blame-ignore-revs16
1 files changed, 16 insertions, 0 deletions
diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs
new file mode 100644
index 0000000..f1cf32a
--- /dev/null
+++ b/.git-blame-ignore-revs
@@ -0,0 +1,16 @@
+# 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.
+#
+# Whitespace fixes
+73a14e8562d6d133982d89bf07ea89bf546d98e5
+# Strip trailing whitespace
+1cd2ab96550b6b7d3abf92f76fe112798af727a4