I want a way to list all git authors that
These two are easy, and I\'ve seen some solutions to thi
Note for people who want "global stat":
git shortlog -s -n -e
Give the global stats commits by author.
The following format specifiers will solve your second concern:
%aN: author name (respecting .mailmap)
%aE: author email (respecting .mailmap)
%cN: committer name (respecting .mailmap)
%cE: committer email (respecting .mailmap)
So discounting the duplicate author part, you want something like
git log <commit>.. --format="%aN <%aE>" --reverse
I suspect you could pipe it through something that does a hash-table based deduplication, a perl oneliner would be trivial:
git log <commit>.. --format="%aN <%aE>" --reverse | perl -e 'my %dedupe; while (<STDIN>) { print unless $dedupe{$_}++}'