RichiH/vcsh — pull request #28 by esc (2012-06-04 14:11:55+00:00)
Title: use git shortlog and .mailmap to remove duplicates

When using the basic log command one of the authors shows up twice:

zsh» git log --all --format='%an <%ae>' | sort -u -k2
Vincent Demeester
Richard Hartmann
Richard Hartmann
Dieter Plaetinck
Corey Quinn
Gernot Schulz

If you instead use the git shortlog version with the .mailmap file you get:

zsh» git shortlog -se --all | cut -f1 --complement | sort -u -k2
Vincent Demeester
Richard Hartmann
Dieter Plaetinck
Corey Quinn
Gernot Schulz

Alphabetical sorting on the second field (which, incidentally, may be a middle
name) is preserved.