Hacker News new | ask | show | jobs
by leni536 1577 days ago
Now which commit's mailmap file should be used for the association? Whatever is on the "default" branch currently?
1 comments

Whatever is in the branch you are looking at? Seems fairly straightforward.
Viewing a specific commit or viewing the repositories' statistics ("insights" tab) both have no attached branch.
in Github or in Git itself? While possible, I don't believe there's many floating commits around.

The other issue of course is that at this point in time, there would not be a .mailmap. Of course, github can then fall back to a .mailmap file in the latest commit of the main branch.

Commits are not usually floating but are very commonly in more than one branch.