From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS31976 209.132.180.0/23 X-Spam-Status: No, score=-4.4 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD shortcircuit=no autolearn=ham autolearn_force=no version=3.4.0 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by dcvr.yhbt.net (Postfix) with ESMTP id DB91A1F71B for ; Tue, 2 Aug 2016 16:46:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933438AbcHBQqx (ORCPT ); Tue, 2 Aug 2016 12:46:53 -0400 Received: from smtprelay0091.hostedemail.com ([216.40.44.91]:41942 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932962AbcHBQqU (ORCPT ); Tue, 2 Aug 2016 12:46:20 -0400 X-Greylist: delayed 515 seconds by postgrey-1.27 at vger.kernel.org; Tue, 02 Aug 2016 12:46:19 EDT Received: from smtprelay.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by smtpgrave07.hostedemail.com (Postfix) with ESMTP id D41BD11BC9F; Tue, 2 Aug 2016 16:37:25 +0000 (UTC) Received: from filter.hostedemail.com (unknown [216.40.38.60]) by smtprelay06.hostedemail.com (Postfix) with ESMTP id 742DB9EA1C; Tue, 2 Aug 2016 16:36:24 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-HE-Tag: steam26_71e7f52b5d11d X-Filterd-Recvd-Size: 3651 Received: from XPS-9350.home (unknown [96.251.125.34]) (Authenticated sender: joe@perches.com) by omf09.hostedemail.com (Postfix) with ESMTPA; Tue, 2 Aug 2016 16:36:22 +0000 (UTC) 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: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@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