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

Re: mailmap distinguishing names

From
Ondrej Certik <ondrej@certik.cz>
Date
Jul 16, 2009, 18:41 UTC
Message-ID
<85b5c3130907161141y59d6888dhe9d0c483fd477e8@mail.gmail.com>
In-Reply-To
<20090716174313.GA10298@landau.phys.spbu.ru>

On Thu, Jul 16, 2009 at 11:43 AM, Kirill Smelkov<kirr@landau.phys.spbu.ru> wrote:

Show 48 quoted lines
> On Thu, Jul 16, 2009 at 11:09:06AM -0600, Ondrej Certik wrote:
>> Hi Kirill!
>>
>> >
>> > You just do
>> >
>> >    Ondrej Certik <...@...>   ondrej.certik  <devnull@localhost>
>> >
>> >
>> > in .mailmap
>> >
>> > See Documentation/mailmap.txt for details
>>
>> Many thanks for help, that's exactly what I want.
>>
>> Only I think I am probably doing something stupid, because I can't get
>> it to work (I use the latest git from git),
>> I put this into the root directory:
>>
>> $ cat .mailmap
>> Ondrej Certik <...@...>   ondrej.certik <devnull@localhost>
>>
>> (if have my real address instead of the ...@..), and:
>>
>> $ git shortlog -ns
>>   654  Ondrej Certik
>>   322  Kirill Smelkov
>>   268  ondrej.certik
>> [...]
>>
>> it still shows ondrej.certik.  I will try to debug it why it doesn't
>> work, I think according to the documentation it should work.
>
> It does work with the following mailmap:
>
>    Ondrej Certik <ondrej@certik.cz>    ondrej.certik <devnull@localhost>
>
> before:
>
> $ git shortlog -s | grep -i certik
>   654  Ondrej Certik
>   268  ondrej.certik
>
>
> after:
>
> $ git shortlog -s | grep -i certik
>   922  Ondrej Certik
Now it works! Many thanks, I must have been doing something really stupid.
Ondrej
Previous: Kirill Smelkov
Message 5 of 5 in “mailmap distinguishing names”
  1. Ondrej CertikJul 15, 2009
  2. Kirill SmelkovJul 16, 2009
  3. Ondrej CertikJul 16, 2009
  4. Kirill SmelkovJul 16, 2009
  5. Ondrej CertikJul 16, 2009

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.