* Pierre Habouzit [off-list ref] wrote:
On Tue, Dec 11, 2007 at 09:24:46AM +0000, Ingo Molnar wrote:
quoted
---------{ git-authors }--------->
#!/bin/bash
git-log $@ | grep Author: | cut -d: -f2 | sort | uniq -c | sort -n
You mean:
git shortlog -n -s HEAD -- "$@"
to do exactly the same right ? :)
didnt know about that - i guess i wrote git-authors before even
git-shortlog existed ;-)
but i still prefer this format:
2 Serge E. Hallyn [off-list ref]
10 Eric W. Biederman [off-list ref]
10 Pavel Emelyanov [off-list ref]
10 Sukadev Bhattiprolu [off-list ref]
because i'm not just interested in the stats, i'm also interested in an
email address to pick. Also, the number should be the first column and
aligned, it's easier to read for humans that way. (and this summary
output is for humans.)
Ingo