From: Jagan Teki <jteki@openedev.com>
To: Andreas Schwab <schwab@linux-m68k.org>
Cc: Git List <git@vger.kernel.org>
Subject: Re: Show total commit count of two authors or more authors into first author
Date: Mon, 7 Dec 2015 01:45:19 +0530 [thread overview]
Message-ID: <CAD6G_RRtH5yBqwrgMxhrSXb++n6CNA2qXcNn+Z2ALSyV8b9ZuA@mail.gmail.com> (raw)
In-Reply-To: <87wpsrz843.fsf@igel.home>
On 7 December 2015 at 01:01, Andreas Schwab <schwab@linux-m68k.org> wrote:
> Jagan Teki <jagannadh.teki@gmail.com> writes:
>
>> Out of which below three names are with same author which changed
>> while submitted patches.
>> 149 Jagan Teki
>> 122 Jagannadha Teki
>> 116 Jagannadha Sutradharudu Teki
>>
>> I need a command to show to add all commits and show first one as
>> 387 Jagan Teki
>>
>> Can anyone help to do this?
>
> See the "MAPPING AUTHORS" section of git-shortlog(1).
>
> The .mailmap feature is used to coalesce together commits by the same
> person in the shortlog, where their name and/or email address was
> spelled differently.
>
> If the file .mailmap exists at the toplevel of the repository, or at
> the location pointed to by the mailmap.file or mailmap.blob
> configuration options, it is used to map author and committer names and
> email addresses to canonical real names and email addresses.
Thanks for the info, I'm able to map two author with e-mail but it's
not working when I group 3
$ .mailmap
Jagan Teki <a@abc.com> Jagannadha Teki <x@xynz.com>
The above worked but how about 3 names mapping
$ .mailmap
Jagan Teki <a@abc.com> Jagannadha Teki <x@xynz.com> Jagannadha
Sutradharudu Teki<p@pqr.com>
Finally I need to map all 3 into Jagan Teki <a@abc.com>
--
Jagan.
next prev parent reply other threads:[~2015-12-06 20:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-06 19:23 Show total commit count of two authors or more authors into first author Jagan Teki
2015-12-06 19:31 ` Andreas Schwab
2015-12-06 20:15 ` Jagan Teki [this message]
2015-12-06 21:20 ` brian m. carlson
2015-12-07 6:01 ` Jagan Teki
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=CAD6G_RRtH5yBqwrgMxhrSXb++n6CNA2qXcNn+Z2ALSyV8b9ZuA@mail.gmail.com \
--to=jteki@openedev.com \
--cc=git@vger.kernel.org \
--cc=schwab@linux-m68k.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;
as well as URLs for NNTP newsgroup(s).