get_maintainer.pl and .mailmap entries with more than 2 addresses

From: Joe Perches <joe@perches.com>
Date: 2016-08-02 16:38:38
Also in: lkml
Subsystem: the rest · Maintainer: Linus Torvalds

Hello Florian.

There is at least an oddity with get_maintainer handling of a
.mailmap entry form.

For instance:

Mauro's .mailmap entry is:
Mauro Carvalho Chehab [off-list ref] [off-list ref] [off-list ref] [off-list ref] [off-list ref] [off-list ref] [off-list ref]

Is this a valid form?

get_maintainer output for Mauro is:

$ ./scripts/get_maintainer.pl drivers/media/ -f
Mauro Carvalho Chehab [off-list ref] [off-list ref] [off-list ref] [off-list ref] [off-list ref] [off-list ref] (maintainer:MEDIA INPUT INFRASTRUCTURE (V4L/DVB))

I believe the Mauro's and Shuah's .mailmap entries are improper and
should be changed, but I'm not completely aware of git .mailmap
handling and the documentation seems weakly specified.

https://git-scm.com/docs/git-check-mailmap

Maybe get_maintainer.pl needs a change or perhaps this patch
is  appropriate.
---
 .mailmap | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/.mailmap b/.mailmap
index c0d5704..c7f92ca 100644
--- a/.mailmap
+++ b/.mailmap
@@ -96,7 +96,12 @@ Linus Lüssing <linus.luessing@c0d3.blue> <linus.luessing@web.de>
 Linus Lüssing [off-list ref] [off-list ref]
 Mark Brown [off-list ref]
 Matthieu CASTET [off-list ref]
-Mauro Carvalho Chehab [off-list ref] [off-list ref] [off-list ref] [off-list ref] [off-list ref] [off-list ref] [off-list ref]
+Mauro Carvalho Chehab [off-list ref] [off-list ref]
+Mauro Carvalho Chehab [off-list ref] [off-list ref]
+Mauro Carvalho Chehab [off-list ref] [off-list ref]
+Mauro Carvalho Chehab [off-list ref] [off-list ref]
+Mauro Carvalho Chehab [off-list ref] [off-list ref]
+Mauro Carvalho Chehab [off-list ref] [off-list ref]
 Matt Ranostay [off-list ref] Matthew Ranostay [off-list ref]
 Matt Ranostay [off-list ref] [off-list ref]
 Mayuresh Janorkar [off-list ref]
@@ -132,7 +137,10 @@ Santosh Shilimkar <santosh.shilimkar@oracle.org>
 Sascha Hauer [off-list ref]
 S.Çağlar Onur [off-list ref]
 Shiraz Hashim [off-list ref] [off-list ref]
-Shuah Khan [off-list ref] [off-list ref] [off-list ref] [off-list ref] [off-list ref]
+Shuah Khan [off-list ref] [off-list ref]
+Shuah Khan [off-list ref] [off-list ref]
+Shuah Khan [off-list ref] [off-list ref]
+Shuah Khan [off-list ref] [off-list ref]
 Simon Kelley [off-list ref]
 Stéphane Witzmann [off-list ref]
 Stephen Hemminger [off-list ref]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help