-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add .git-blame-ignore-revs file #7528
Conversation
There was also C code formatting commits #4770 |
5ee00bb
to
a331d45
Compare
@homm Great, thanks! Added those too. |
3680097
to
75f5e17
Compare
.git-blame-ignore-revs
Outdated
# Reformat with Black | ||
53a7e3500437a9fd5826bc04758f7116bd7e52dc | ||
# ClangFormat the C code |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# Reformat with Black | |
53a7e3500437a9fd5826bc04758f7116bd7e52dc | |
# ClangFormat the C code | |
# Format with Black | |
53a7e3500437a9fd5826bc04758f7116bd7e52dc | |
# Format the C code with ClangFormat |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just borrowed the commit messages, but sure :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
for more information, see https://pre-commit.ci
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
This PR adds a
.git-blame-ignore-revs
file (the name is conventionally supported by e.g. GitHub).The file is populated with the mechanical reformatting commit 53a7e35.
This makes blame tools (when configured to do so, e.g.
git config blame.ignoreRevsFile .git-blame-ignore-revs
) ignore the revision, making archaeology a bit easier.