Skip to content

chore: have git blame look through the ruff format commit - #112

Merged
mpalermiti merged 1 commit into
mainfrom
chore/blame-ignore-format
Oct 5, 2026
Merged

mpalermiti merged 1 commit into
mainfrom
chore/blame-ignore-format

Conversation

@mpalermiti

Copy link
Copy Markdown
Owner

Follow-up to #111, which was rebase-merged so its formatter-only commit reached main on its own (fd449e4). This names it in .git-blame-ignore-revs, which GitHub's blame view reads automatically, so the reformatted lines show their real history again. Across src/, the lines blamed on the format commit drop from 170 to 3. The file says how to turn it on for local git blame.

One file, no code. Answers the blame question in #111.

Generated with Claude Code

#111 was rebase-merged so its formatter-only commit (fd449e4) reached
main on its own, as the blame question in #111 anticipated. Naming it in
.git-blame-ignore-revs, which GitHub's blame view reads automatically,
gives the 1,300 reformatted lines their real history back: across src/,
the lines blamed on the format commit drop from 170 to 3. The file says
how to enable it for local `git blame`.

Co-Authored-By: Claude <noreply@anthropic.com>
@mpalermiti
mpalermiti merged commit 57b8563 into main Oct 5, 2026
16 checks passed
@mpalermiti
mpalermiti deleted the chore/blame-ignore-format branch October 5, 2026 22:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant