From: Junio C Hamano <gitster@pobox.com>
To: Joe Perches <joe@perches.com>
Cc: Florian Mickler <florian@mickler.org>,
Mauro Carvalho Chehab <mchehab@kernel.org>,
Shuah Khan <shuah@kernel.org>,
LKML <linux-kernel@vger.kernel.org>, git <git@vger.kernel.org>
Subject: Re: get_maintainer.pl and .mailmap entries with more than 2 addresses
Date: Tue, 02 Aug 2016 11:16:26 -0700 [thread overview]
Message-ID: <xmqqpoprdojp.fsf@gitster.mtv.corp.google.com> (raw)
In-Reply-To: <1470155781.3998.181.camel@perches.com> (Joe Perches's message of "Tue, 02 Aug 2016 09:36:21 -0700")
Joe Perches <joe@perches.com> 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 <mchehab@kernel.org> <maurochehab@gmail.com> <mchehab@infradead.org> <mchehab@redhat.com> <m.chehab@samsung.com> <mchehab@osg.samsung.com> <mchehab@s-opensource.com>
>
> 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 <commit@email.xx>
--
The more complex forms are:
--
<proper@email.xx> <commit@email.xx>
--
which allows mailmap to replace only the email part of a commit, and:
--
Proper Name <proper@email.xx> <commit@email.xx>
--
which allows mailmap to replace both the name and the email of a
commit matching the specified commit email address, and:
--
Proper Name <proper@email.xx> Commit Name <commit@email.xx>
--
which allows mailmap to replace both the name and the email of a
commit matching both the specified commit name and email address.
next prev parent reply other threads:[~2016-08-02 18:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-02 16:36 get_maintainer.pl and .mailmap entries with more than 2 addresses Joe Perches
2016-08-02 18:16 ` Junio C Hamano [this message]
[not found] ` <6A56763C-D795-4943-AFE9-8A53ECD61AF6@mickler.org>
2016-08-02 22:26 ` Joe Perches
2016-08-02 23:11 ` Shuah Khan
2016-08-03 0:50 ` Mauro Carvalho Chehab
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=xmqqpoprdojp.fsf@gitster.mtv.corp.google.com \
--to=gitster@pobox.com \
--cc=florian@mickler.org \
--cc=git@vger.kernel.org \
--cc=joe@perches.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=shuah@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox