From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756196AbcHBW01 (ORCPT ); Tue, 2 Aug 2016 18:26:27 -0400 Received: from smtprelay0250.hostedemail.com ([216.40.44.250]:46224 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753011AbcHBW0W (ORCPT ); Tue, 2 Aug 2016 18:26:22 -0400 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::::::,RULES_HIT:41:355:379:541:599:800:960:973:982:988:989:1260:1277:1311:1313:1314:1345:1359:1373:1437:1515:1516:1518:1534:1542:1593:1594:1711:1730:1747:1777:1792:2198:2199:2393:2553:2559:2562:2691:2692:2828:3138:3139:3140:3141:3142:3354:3622:3865:3866:3867:3868:3871:3872:4321:5007:7514:7809:10004:10400:10848:10967:11232:11658:11783:11914:12043:12296:12517:12519:12663:12740:13161:13229:13439:13894:14180:14181:14659:14721:21080:21324:21433:30003:30022:30029:30054:30070:30090:30091,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:4,LUA_SUMMARY:none X-HE-Tag: day67_714b6d0619316 X-Filterd-Recvd-Size: 3374 Message-ID: <1470176777.3998.203.camel@perches.com> Subject: Re: 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 , mchehab@s-opensource.com Date: Tue, 02 Aug 2016 15:26:17 -0700 In-Reply-To: <6A56763C-D795-4943-AFE9-8A53ECD61AF6@mickler.org> References: <1470155781.3998.181.camel@perches.com> <6A56763C-D795-4943-AFE9-8A53ECD61AF6@mickler.org> Content-Type: text/plain; charset="ISO-8859-1" 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 On Wed, 2016-08-03 at 00:17 +0200, Florian Mickler wrote: > cc'd mchehab@s-opensource.com  (Mauro, is your kernel.org address up?) > >  Am Tue, 02 Aug 2016 09:36:21 -0700 > schrieb Joe Perches : > > > > > 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. > > > Hmm.. looking at Mauros last .mailmap commit it seems like your patch is > ok for Mauro.  > > Although and are probably > missing? (@Mauro)  > > > $ git shortlog | grep "^Mauro C" > Mauro Carvalho Chehab (4404): > $ git log | grep "^Author:.*Mauro Carvalho Chehab" | sort | uniq -c >       2 Author: Mauro Carvalho Chehab >     146 Author: Mauro Carvalho Chehab >     645 Author: Mauro Carvalho Chehab >     794 Author: Mauro Carvalho Chehab >    2015 Author: Mauro Carvalho Chehab >     448 Author: Mauro Carvalho Chehab >     353 Author: Mauro Carvalho Chehab >       1 Author: Mauro Carvalho Chehab > > > > Anyway, from a technical viewpoint your patches seem to fix > the .mailmap entry as the author intended. (See Junio's Email for the > documantation part)  > But I would wait for the ack from Mauro and Shuah.  As far as I understand, a single entry with just their name and preferred email address would work too because the name parts are all spelled identically.