* Pierre Habouzit <madcoder@xxxxxxxxxx> wrote: > On Tue, Dec 11, 2007 at 09:24:46AM +0000, Ingo Molnar wrote: > > ---------{ 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 <serue@xxxxxxxxxx> 10 Eric W. Biederman <ebiederm@xxxxxxxxxxxx> 10 Pavel Emelyanov <xemul@xxxxxxxxxx> 10 Sukadev Bhattiprolu <sukadev@xxxxxxxxxx> 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 - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html