diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-09-10 11:21:17 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-09-17 08:15:29 -0700 |
commit | 3c508f4376aa6812ea27226bbe6c4584cb07c446 (patch) | |
tree | b08ae779ce09c2a87a7873c6786715cf34eeb711 | |
parent | 91ccaaa80d33efd5897cacf714cb14405c2988f2 (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-revs | 18 |
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..05fabe4 --- /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. +# +# Convert sources to standard X.Org code style +4d54d9ad3a46815792c094fbea82351ed61c66d7 +# Strip trailing whitespace +468b19fd8729690dc4c2d1a1f20294991949ac35 +# man: remove trailing spaces and tabs +cf9f33527f9accbe2eba269513aa25fbf0df6fb3 |