Skip to content

chore: ignore pure-move commits in git blame - #58

Merged
MotherSphere merged 1 commit into
mainfrom
chore/blame-ignore-revs
Jul 25, 2026
Merged

chore: ignore pure-move commits in git blame#58
MotherSphere merged 1 commit into
mainfrom
chore/blame-ignore-revs

Conversation

@MotherSphere

Copy link
Copy Markdown
Member

The module split (#57) moved about 2000 lines, so git blame now points at that commit for a large part of src/. This records it as a move-only revision, which GitHub and local git both honour, sending blame back to the change that actually wrote each line.

The SHA could not be included in #57 itself: squash-merging mints a new commit, so the value only exists once that PR has landed.

Future move-only commits go in the same list. Locally: git config blame.ignoreRevsFile .git-blame-ignore-revs.

The module split moved ~2000 lines, so blame pointed at that commit for a large
part of src/. Recording it here sends blame back to the change that actually
wrote each line. Future move-only commits go in the same list.
@MotherSphere
MotherSphere merged commit 9c23061 into main Jul 25, 2026
3 checks passed
@MotherSphere
MotherSphere deleted the chore/blame-ignore-revs branch July 25, 2026 11:54
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