Contributors, please check your names
A handy way to look at the list of contributors is:
$ git shortlog -s --since=6.month
This shows the number of patches in our history for each contributor. The patch author name (excluding e-mail part) is used for summarizing, and this allows the same person to send patches under more than one e-mail address and still count these patches as authored by one person.
Your name however can appear more than once in different spellings, if you sent patches using different human-readable names on From: line of your patch submission from the same (or different) e-mail address. E.g. these two patches are counted under different authors:
Author: A. U. Thor <[email protected]>
Date: Wed Jul 09:23:06 2008 -0700
The first patch...
Author: A U Thor <[email protected]>
Date: Wed Jul 09:23:07 2008 -0700
The second patch...
There is a "mailmap" mechanism to consolidate them; it allows us to specify what human-readable name should be used for given e-mail address. The hypothetical Mr. Thor might want to say "I am A. U. Thor; some commits from me, <[email protected]>, are marked without abbreviating periods in my name", and we can add this entry to the toplevel .mailmap file to fix it:
A. U. Thor <[email protected]>
It tells the shortlog (and --pretty=format:%aN in recent enough git) mechanism to give huma readable name "A. U. Thor" anytime it sees <[email protected]> e-mail address, regardless of what the Author:
header in the commit object says.
If your name appears more than once in the output from the "shortlog" command at the beginning of this message, you may want to tell me to fix it.
Thanks.
PATCH 1/1 Add a few names to the mailmap
---
I hope that my mailer does not break UTF-8 encoded names...
.mailmap | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-)
.mailmap +8 -0
@@ -5,22 +5,28 @@ # same person appearing not to be so. # +Alexander N. Gavrilov <[email protected]> Aneesh Kumar K.V <[email protected]> Brian M. Carlson <[email protected]> Chris Shoemaker <[email protected]> Dana L. How <[email protected]> Dana L. How <[email protected]> Daniel Barkalow <[email protected]> +David D. Kilzer <[email protected]> David Kågedal <[email protected]> +David S. Miller <[email protected]> +Dirk Süsserott <[email protected]> Fredrik Kuivinen <[email protected]> H. Peter Anvin <[email protected]> H. Peter Anvin <[email protected]> H. Peter Anvin <[email protected]> Horst H. von Brand <[email protected]> +İsmail Dönmez <[email protected]> Jay Soffian <[email protected]> Joachim Berdal Haga <[email protected]> Jon Loeliger <[email protected]> Jon Seymour <[email protected]> +Jonathan Nieder <[email protected]> Junio C Hamano <[email protected]> Karl Hasselström <[email protected]> Kent Engstrom <[email protected]>
@@ -30,9 +36,11 @@ Li Hong <[email protected]> Lukas Sandström <[email protected]> Martin Langhoff <[email protected]> Michael Coleman <[email protected]> +Michael W. Olson <[email protected]> Michele Ballabio <[email protected]> Nanako Shiraishi <[email protected]> Nguyễn Thái Ngọc Duy <[email protected]> +Philippe Bruhat (BooK) <[email protected]> Ramsay Allan Jones <[email protected]> René Scharfe <[email protected]> Robert Fitzsimons <[email protected]>
Signature · 1 line
1.5.6.3.626.gf5cf.dirty
Quoted 7 lines · Junio C Hamano
There is a "mailmap" mechanism to consolidate them; it allows us to specify what human-readable name should be used for given e-mail address. The hypothetical Mr. Thor might want to say "I am A. U. Thor; some commits from me, <[email protected]>, are marked without abbreviating periods in my name", and we can add this entry to the toplevel .mailmap file to fix it:
Quoted 6 lines
A. U. Thor <[email protected]>
It tells the shortlog (and --pretty=format:%aN in recent enough git) mechanism to give huma readable name "A. U. Thor" anytime it sees <[email protected]> e-mail address, regardless of what the Author:
header in the commit object says.
What about if some authors use different _email_ address, instead? Is there any way for shortlog to consider them the same?
Signature · 3 lines
Jakub Narebski Poland ShadeHawk on #git
Quoted 2 lines · Jakub Narebski
What about if some authors use different _email_ address, instead? Is there any way for shortlog to consider them the same?
Read the first part of the message you are responding to again please.
Quoted 11 lines · Jakub Narebski
Quoted 9 lines · Junio C Hamano
There is a "mailmap" mechanism to consolidate them; it allows us to specify what human-readable name should be used for given e-mail address. The hypothetical Mr. Thor might want to say "I am A. U. Thor; some commits from me, <[email protected]>, are marked without abbreviating periods in my name", and we can add this entry to the toplevel .mailmap file to fix it:
A. U. Thor <[email protected]>
Quoted 7 lines
Quoted 4 lines
It tells the shortlog (and --pretty=format:%aN in recent enough git) mechanism to give huma readable name "A. U. Thor" anytime it sees <[email protected]> e-mail address, regardless of what the Author:
header in the commit object says.What about if some authors use different _email_ address, instead? Is there any way for shortlog to consider them the same?
It already does, unless you use the -e switch.
Nicolas