Skip to contentSkip to conversation

fixup! Update .mailmap using scripts/mailmapper

PATCH In review Antony Pavlov 3 participants 4 messages Oct 16, 2014 – Oct 17, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fixup! Update .mailmap using scripts/mailmapper

MIN_COMMITS = 1 in scripts/mailmapper give us additional .mailman strings:

+Franck Jullien <[email protected]>
+Jin Zhengxiong <[email protected]>
+Marc Reilly <[email protected]>
+Nishanth Menon <[email protected]>
+Raphaël Poggi <[email protected]>
+Vicente Bergas <[email protected]>
+Wjatscheslaw Stoljarski <[email protected]> +gregory hermant <[email protected]> +shravan <[email protected]>

I suppose these 9 strings can't make our .mailman file too big.

Also some .mailmap lines are added by hand:

+Robert Schwebel <rsc@thebe.(none)>
+Silvio Fricke <[email protected]>

Alas I don't know how to fix Markus Klotzbuecher's <Markus Klotzb<FC>mk@pollux.(none)> mail address with latin-1 character inside it.

---
 .mailmap | 11 +++++++++++
 1 file changed, 11 insertions(+)
.mailmap +11 -0
index e8e81a0..2e51c38 100644
@@ -10,7 +10,18 @@
 
 Alexander Shiyan <[email protected]>
 Eric Bénard <[email protected]>
+Franck Jullien <[email protected]>
+Jin Zhengxiong <[email protected]>
 Juergen Beisert <[email protected]>
+Marc Reilly <[email protected]>
+Nishanth Menon <[email protected]>
+Raphaël Poggi <[email protected]>
+Robert Schwebel <rsc@thebe.(none)>
 Sascha Hauer <[email protected]>
+Silvio Fricke <[email protected]>
 Stefan Roese <stroese>
+Vicente Bergas <[email protected]>
+Wjatscheslaw Stoljarski <[email protected]>
 Wolfgang Denk <wdenk>
+gregory hermant <[email protected]>
+shravan <[email protected]>
Signature · 7 lines
2.1.1


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#2 lore raw
Quoted 4 lines · On Thu, 16 Oct 2014 09:31:26 -0500 Nishanth Menon <[email protected]> wrote:
Quoted 1 line · Antony Pavlov

+Nishanth Menon<[email protected]>

Could you use Nishanth Menon <[email protected]> ? that has been my updated mail address for a few years now.

Please see this quote from git-shortlog man page:

The .mailmap feature is used to coalesce together commits by the same person in the shortlog, where their name and/or email address was spelled differently.

...

In the simple form, each line in the file consists of the canonical real name of an author, whitespace, and an email address used in the commit (enclosed by < and >) to map to the name.

Also please see this git-log output:

  $ git log --author="Menon"  | grep ^Author: | uniq
  Author: Nishanth Menon <[email protected]>
  Author: Nishanth Menon <[email protected]>
  Author: Nishanth Menon <[email protected]>
  Author: Menon, Nishanth <[email protected]>
  Author: Nishanth Menon <[email protected]>

This string in the .mailmap file

Quoted 1 line
Quoted 1 line

+Nishanth Menon <[email protected]>

is used only for mapping "Menon, Nishanth" -> "Nishanth Menon".

Here is git-shortlog output without this string:

$ git shortlog -n -s --author="Menon" 
    35  Nishanth Menon
     4  Menon, Nishanth

So there is no need to add additional string containing <[email protected]> to the .mailmap file.

--
Best regards,
  Antony Pavlov

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

#3 lore raw
In reply to Antony Pavlov
Quoted 8 lines · Antony Pavlov

MIN_COMMITS = 1 in scripts/mailmapper give us additional .mailman strings:

Alas I don't know how to fix Markus Klotzbuecher's <Markus Klotzb<FC>mk@pollux.(none)> mail address with latin-1 character inside it.

Applied the original series and this fixup.

Thanks
Sascha

Signature · 9 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox