summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-09-16 13:20:48 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-09-16 13:20:48 -0700
commit548998994665241967a43e583f5d0f00ee089289 (patch)
tree4860aacdffd84171b3131480321ed9b8f581eae8
parent1b66daf529d60196422ba71e77bb95ce74277447 (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-revs18
1 files changed, 18 insertions, 0 deletions
diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs
new file mode 100644
index 0000000..3ed4576
--- /dev/null
+++ b/.git-blame-ignore-revs
@@ -0,0 +1,18 @@
+# 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.
+#
+# man: remove trailing spaces and tabs
+f474c8a243d89162b596376193f802916428b89f
+# Adopt X.Org standard coding style (via x-indent.sh)
+a28c5c4f2b9f3e20fb176e08a1eda149a8b866f3
+# Adopt X.Org standard coding style (via x-indent-all.sh)
+1b66daf529d60196422ba71e77bb95ce74277447