Skip to content

chore(identity): .mailmap resolves every past commit to Cato - #450

Merged
github-actions[bot] merged 1 commit into
mainfrom
chore/mailmap-cato
Sep 5, 2026
Merged

chore(identity): .mailmap resolves every past commit to Cato#450
github-actions[bot] merged 1 commit into
mainfrom
chore/mailmap-cato

Conversation

@catomean

@catomean catomean commented Sep 5, 2026

Copy link
Copy Markdown
Collaborator

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 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 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, not assumed

before:  G · Mao Nakamoto (two addresses) · Claude · dependabot
after:   312 Cato · 78 dependabot · 10 Claude (AI assistant)

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

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
@github-actions
github-actions Bot merged commit 0a4ef4a into main Sep 5, 2026
8 checks passed
@github-actions
github-actions Bot deleted the chore/mailmap-cato branch September 5, 2026 16:05
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