diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2023-02-28 11:50:15 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2023-02-28 11:50:15 -0800 |
commit | 02d6fcb26ee1c77c26d98372898d0e48542da5cb (patch) | |
tree | 71a6ed4988e6f02830c77334ee997c3dab2f729b | |
parent | c37efe7e63ce7be18238590b25042a8d7184f86c (diff) | |
download | xorg-lib-libXaw-02d6fcb26ee1c77c26d98372898d0e48542da5cb.tar.gz |
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..29a1095 --- /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. +# +# Strip trailing whitespace +37ffe69b10ae29e8f91de6ef647d06804b9d159b +# Removing trailing white spaces +03457873474dfc90e5f2322facbd6032a1312086 +# specs/Makefile.am: remove whitespace after line continuation chars +35197044c7632b37322d15454589416fcdb7dc86 |