summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-10-22 12:09:28 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-10-22 12:09:28 -0700
commit2ab380b66b2bca181b01d375779bfdff167744a6 (patch)
tree7c14a30929c08b5dda16214c41709c815c8be7b4
parentf7f9e4590a75d629b3ca65887b6e477a72ba39b7 (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..c72d56e
--- /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.
+#
+# Remove trailing whitespace
+517ad56361ff9545bfc9730523e713a2bf641943
+# man: whitespace fixes
+238f5fdc3331c5636cf3b397163554d6fbd0754c
+# Convert sources to X.Org standard coding style
+33fd917bcd564a5526216a286867a528018f425d