Skip to content

Ignore Fantomas 8.1.0 format commit in git blame - #114

Merged
nojaf merged 1 commit into
mainfrom
fantomas-8-blame-ignore
Oct 25, 2026
Merged

nojaf merged 1 commit into
mainfrom
fantomas-8-blame-ignore

Conversation

@nojaf

@nojaf nojaf commented Oct 22, 2026 •

Copy link
Copy Markdown
Member

Adds a .git-blame-ignore-revs file that ignores a05afc1, the squashed commit of #113 (Bump Fantomas to 8.1.0). That PR reformatted the code with Fantomas 8.1.0, so git blame now credits those lines to the formatting commit instead of their real authors.

This is a separate PR because the repo only allows squash merges: the hash of the squashed commit only exists after #113 was merged.

GitHub's blame view reads .git-blame-ignore-revs automatically. For local git blame, run this once per clone:

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

@nojaf
nojaf requested review from a team as code owners October 22, 2026 07:17
@nojaf
nojaf merged commit 3962bc3 into main Oct 25, 2026
13 checks passed
@nojaf
nojaf deleted the fantomas-8-blame-ignore branch October 25, 2026 10: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.

2 participants