From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757214AbcHBSSt (ORCPT ); Tue, 2 Aug 2016 14:18:49 -0400 Received: from pb-smtp2.pobox.com ([64.147.108.71]:52353 "EHLO sasl.smtp.pobox.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932253AbcHBSQ5 (ORCPT ); Tue, 2 Aug 2016 14:16:57 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=WmlRkTtvNWoUjOWHOJZqQ62A7cqeXFEu AuLh3HwqtVE7UMDbtL04VGrheGFrUOrN1aekGG7oIRUtJJTpbxLKwG4r/v5mes2W LEfGx6V69BZj1i8kjBUkWEhlQG1DzOSH41XtcOq0plvIiE2YV/aggNaTbc/AucTQ 7WBSSSm+xmY= From: Junio C Hamano To: Joe Perches Cc: Florian Mickler , Mauro Carvalho Chehab , Shuah Khan , LKML , git Subject: Re: get_maintainer.pl and .mailmap entries with more than 2 addresses References: <1470155781.3998.181.camel@perches.com> Date: Tue, 02 Aug 2016 11:16:26 -0700 In-Reply-To: <1470155781.3998.181.camel@perches.com> (Joe Perches's message of "Tue, 02 Aug 2016 09:36:21 -0700") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Pobox-Relay-ID: 3B7974EA-58DD-11E6-959F-EE617A1B28F4-77302942!pb-smtp2.pobox.com Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Joe Perches writes: > 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? I do not think so, according to "git shortlog --help" (the canonical source of the document is Documentation/mailmap.txt, but shortlog doc includes it). Here is the relevant bits. 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. For example: -- Proper Name -- The more complex forms are: -- -- which allows mailmap to replace only the email part of a commit, and: -- Proper Name -- which allows mailmap to replace both the name and the email of a commit matching the specified commit email address, and: -- Proper Name Commit Name -- which allows mailmap to replace both the name and the email of a commit matching both the specified commit name and email address.