Skip to content

Add a git-blame-ignore-revs file#9059

Merged
alexreinking merged 2 commits intomainfrom
alexreinking/ignore-formatting-in-blame
Mar 17, 2026
Merged

Add a git-blame-ignore-revs file#9059
alexreinking merged 2 commits intomainfrom
alexreinking/ignore-formatting-in-blame

Conversation

@alexreinking
Copy link
Member

We've done a lot of housekeeping recently, and it's touched a lot of files. This PR adds git's .git-blame-ignore-revs file to clarify git-blame operations. GitHub automatically uses it when presenting blame annotations in its own UI.

However, it's an opt-in feature locally, so you'll have to run the following command if you want this behavior:

git config blame.ignoreRevsFile .git-blame-ignore-revs

@alexreinking alexreinking requested a review from abadams March 17, 2026 20:28
@alexreinking alexreinking added the skip_buildbots Do not run buildbots on this PR. Must add before opening PR as we scan labels immediately. label Mar 17, 2026
@alexreinking
Copy link
Member Author

alexreinking commented Mar 17, 2026

Ugh, skip_buildbots seems not to work upon creation.

Opened #9060

Copy link
Contributor

@mcourteaux mcourteaux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool! Didn't know this feature existed :D

@alexreinking
Copy link
Member Author

@alexreinking alexreinking merged commit c75d258 into main Mar 17, 2026
5 checks passed
@alexreinking alexreinking deleted the alexreinking/ignore-formatting-in-blame branch March 17, 2026 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip_buildbots Do not run buildbots on this PR. Must add before opening PR as we scan labels immediately.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants