chore(identity): .mailmap resolves every past commit to Cato - #450
Merged
Conversation
No .mailmap existed, so every commit displayed its raw author. Five variants
had accumulated, including two distinct retired noreply addresses — the
numbered 41178744+maonakamoto@ form and an unnumbered maonakamoto@ one, which
an email-only rule written for the first would silently miss.
Two kinds of rule are needed. Most variants match by commit email alone. But
commits authored as "G" carry the CANONICAL email, so an email-only rule cannot
reach them — mailmap matches on the commit's email, and theirs is already the
target. Those need a name+email rule on both sides.
Verified rather than assumed, over the last 400 commits:
before: G, Mao Nakamoto (x2 addresses), Claude, dependabot
after: 312 Cato · 78 dependabot · 10 Claude (AI assistant)
Claude's own commits stay attributed to Claude.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01G2LBioUzJP4oBL9LeH9qAe
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No
.mailmapexisted, so every commit displayed its raw author. Five variants had accumulated — including two distinct retired noreply addresses: the numbered41178744+maonakamoto@form and an unnumberedmaonakamoto@one, which a rule written for the first would have silently missed.A mailmap fixes the displayed author of every existing commit without rewriting a hash.
Two kinds of rule
Most variants match by commit email alone. But commits authored as
Gcarry the canonical email, so an email-only rule cannot reach them — mailmap matches on the commit's email, and theirs is already the target. Those need aname <email>rule on both sides.Verified, not assumed
git log --use-mailmap --format='%aN'over the last 400 commits. Claude's own commits stay attributed to Claude.Companion PRs: vitareba#93, botsmann#180, fleetcrown.
orangecat's mailmap was already correct.🤖 Generated with Claude Code