From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935367AbcHBQii (ORCPT ); Tue, 2 Aug 2016 12:38:38 -0400 Received: from smtprelay0209.hostedemail.com ([216.40.44.209]:41609 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S967604AbcHBQhp (ORCPT ); Tue, 2 Aug 2016 12:37:45 -0400 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 50,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::::,RULES_HIT:41:152:355:379:541:800:960:966:967:973:982:988:989:1260:1277:1311:1313:1314:1345:1373:1437:1515:1516:1518:1534:1542:1593:1594:1711:1730:1747:1777:1792:2196:2199:2393:2525:2560:2563:2682:2685:2691:2827:2859:2933:2937:2939:2942:2945:2947:2951:2954:3022:3138:3139:3140:3141:3142:3352:3865:3866:3868:3871:3934:3936:3938:3941:3944:3947:3950:3953:3956:3959:4385:5007:7514:7809:8985:9025:10004:10400:10848:11658:11914:12043:12296:12517:12519:12555:12663:12679:13071:13161:13229:13894:14180:14181:14659:14721:21080:30054:30064:30070,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:9,LUA_SUMMARY:none X-HE-Tag: steam26_71e7f52b5d11d X-Filterd-Recvd-Size: 3651 Message-ID: <1470155781.3998.181.camel@perches.com> Subject: get_maintainer.pl and .mailmap entries with more than 2 addresses From: Joe Perches To: Florian Mickler Cc: Mauro Carvalho Chehab , Shuah Khan , LKML , git Date: Tue, 02 Aug 2016 09:36:21 -0700 Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.18.5.2-0ubuntu3 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Is this a valid form? get_maintainer output for Mauro is: $ ./scripts/get_maintainer.pl drivers/media/ -f Mauro Carvalho Chehab (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 Lüssing  Mark Brown  Matthieu CASTET -Mauro Carvalho Chehab +Mauro Carvalho Chehab +Mauro Carvalho Chehab +Mauro Carvalho Chehab +Mauro Carvalho Chehab +Mauro Carvalho Chehab +Mauro Carvalho Chehab  Matt Ranostay Matthew Ranostay  Matt Ranostay  Mayuresh Janorkar @@ -132,7 +137,10 @@ Santosh Shilimkar  Sascha Hauer  S.Çağlar Onur  Shiraz Hashim -Shuah Khan +Shuah Khan +Shuah Khan +Shuah Khan  +Shuah Khan   Simon Kelley  Stéphane Witzmann  Stephen Hemminger