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