Thread (8 messages) flat view 8 messages, 4 authors, 2016-06-15

Re: short log and email address

From: Johannes Schindelin <hidden>
Date: 2016-06-15 22:45:04

Hi,

On Mon, 28 Jul 2008, Jon Smirl wrote:
Using the -e option in shortlog changes the results by spitting things 
out by email address instead of leaving them combined by name. That's 
probably not what you want. Instead you want everything combined by name 
and then display the most recent email address used.
What is so wrong with _not_ using -e (since you do not want to see the 
email address stored in the commit message, and -e would be asking for 
that _exactly_)?

After the fact, you can annotate the names with all you like.  For 
example, the most recent email address for that person.

But as Mark pointed out, the name might be a bad key.  Maybe you will have 
to do something completely different, namely maintain a separate list of 
(correct) names and emails, and then having line numbers in .mailmap, 
like:

1 <davem@sunset>
1 <davem@sunrise>
1 <davem@moonshine>
2 [off-list ref]
2 [off-list ref]

etc

However, I have to say that I see small value in that, and an inordinate 
amount of work that nobody wants to do.

Ciao,
Dscho
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help