News for hackers. Stuff that matters.
Re:How to take credit for someone else's work on GitHub by leni536 on Monday February 28, 2022 @05:29PM (#30506055)
Now which commit's mailmap file should be used for the association? Whatever is on the "default" branch currently?
Re:How to take credit for someone else's work on GitHub by Aeolun on Monday February 28, 2022 @07:05PM (#30507090)
Whatever is in the branch you are looking at? Seems fairly straightforward.
Re:How to take credit for someone else's work on GitHub by remram on Monday February 28, 2022 @09:24PM (#30508497)
Viewing a specific commit or viewing the repositories' statistics ("insights" tab) both have no attached branch.
Re:How to take credit for someone else's work on GitHub by Cthulhu_ on Tuesday March 01, 2022 @03:55AM (#30511439)
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.

Re:How to take credit for someone else's work on GitHub by remram on Tuesday March 01, 2022 @09:15AM (#30514368)
Commits are not usually floating but are very commonly in more than one branch.