Bug in .mailmap handling?

2013-07-12 Thread Stefan Beller
Hello, you may have noticed I am currently trying to bring the mailmap file of git itself up to date. I noticed some behavior, which I did not expect. Have a look yourself: --- # prepare test environment: mkdir testmailmap cd testmailmap/ git init # do a

Re: Bug in .mailmap handling?

2013-07-12 Thread Junio C Hamano
Stefan Beller writes: > Hello, > > you may have noticed I am currently trying to bring the > mailmap file of git itself up to date. I noticed > some behavior, which I did not expect. Have a look yourself: > > --- > # prepare test environment: > mkdir testmailmap > cd testmailma

Re: Bug in .mailmap handling?

2013-07-12 Thread Stefan Beller
The commands are exactly as given in the first mail. (I run it multiple times, and this exact behavior comes up) I think there is some problem with the capitalisation of the first (if not all) characters. (Hence the small 'a') So either check with these example commands yourself, or take my lates

Re: Bug in .mailmap handling?

2013-07-12 Thread Junio C Hamano
Stefan Beller writes: > # Adding the line to the mailmap should make life easy, so we know > # it's the same person > echo "A " > .mailmap While I was looking at this, I noticed this piece of code: diff --git a/mailmap.c b/mailmap.c index 2a7b366..418081e 100644 --- a/mailmap

Re: Bug in .mailmap handling?

2013-07-12 Thread Stefan Beller
On 07/12/2013 10:28 PM, Junio C Hamano wrote: > Stefan Beller writes: > >> # Adding the line to the mailmap should make life easy, so we know >> # it's the same person >> echo "A " > .mailmap > > While I was looking at this, I noticed this piece of code: > > diff --git a/mailmap

Re: Bug in .mailmap handling?

2013-07-12 Thread Junio C Hamano
Junio C Hamano writes: > Stefan Beller writes: > >> git shortlog -sne >> 1 A >> 1 A > > This is coming from mailmap.c::add_mapping() that downcases the > e-mail address. > > changed_em...@example.org is mapped to a...@example.org because of this > downcasing,

Re: Bug in .mailmap handling?

2013-07-12 Thread Junio C Hamano
Junio C Hamano writes: > Junio C Hamano writes: > >> Stefan Beller writes: >> >>> git shortlog -sne >>> 1 A >>> 1 A >> >> This is coming from mailmap.c::add_mapping() that downcases the >> e-mail address. >> >> changed_em...@example.org is mapped to a...@exampl