summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-09-17 09:44:37 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-09-17 09:44:37 -0700
commit323bc318e9bfb5cea24dfca0a47031d1861506dd (patch)
tree3e03cb2bb655e6b7a762121342b2cf086c388e2d
parent187945b6f93f193d7b8a4580191a040186de0f18 (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..9c30bdb
--- /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.
+#
+# Make cpp statement indenting more consistent
+2e164f61a461a21a74f2050f8da886373307cc5a
+# Strip trailing whitespace
+7f299010c9327ab1a65a6b781c58b4c3098d13b7