git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [Query] Can we ignore case for commiters name in shortlog?

From
DRDamien Robert <damien.olivier.robert+gmane@gmail.com>
Date
Nov 30, 2012, 13:01 UTC
Message-ID
<k9aao3$til$1@ger.gmane.org>
In-Reply-To
<CAJDDKr7yr2JSutcEy1mz-SfMq8ZdNzR3+s++ooenn5+wD-LDAw@mail.gmail.com>

David Aguilar wrote in message <CAJDDKr7yr2JSutcEy1mz-SfMq8ZdNzR3+s++ooenn5+wD-LDAw@mail.gmail.com>:

> There's a feature that does exactly this.
> http://www.kernel.org/pub/software/scm/git/docs/git-shortlog.html

By the way, the mailmap ignore case which is annoying. I have commits as Damien.Olivier.Robert+git@gmail.com and a dummy email address robert@numenor.night-elves. I thought that putting:

Damien Robert <Damien.Olivier.Robert+git@gmail.com> <robert@numenor.night-elves>
in the .mailmap would unify the two adresses, but it does not:
git shortlog -se
    15  Damien Robert <Damien.Olivier.Robert+git@gmail.com>
    266  Damien Robert <damien.olivier.robert+git@gmail.com>

as you can see, the Damien.Olivier.Robert+git as been lowercased to damien.olivier.robert, so I am forced to write a mailmap like this:

Damien Robert <Damien.Olivier.Robert+git@gmail.com> <robert@numenor.night-elves> Damien Robert <Damien.Olivier.Robert+git@gmail.com> <Damien.Olivier.Robert+git@gmail.com>

git shortlog -se
   281  Damien Robert <damien.olivier.robert+git@gmail.com>
Previous: Viresh KumarNext: Nicolas Pitre
Message 4 of 9 in “[Query] Can we ignore case for commiters name in shortlog?”
  1. viresh kumarNov 30, 2012
  2. David AguilarNov 30, 2012
  3. Viresh KumarNov 30, 2012
  4. Damien RobertNov 30, 2012
  5. Nicolas PitreNov 30, 2012
  6. Viresh KumarNov 30, 2012
  7. Max HornNov 30, 2012
  8. Viresh KumarNov 30, 2012
  9. Andreas SchwabNov 30, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.