A couple tricks for stats

From Yade

Revision as of 09:22, 24 April 2013 by Bchareyre (talk | contribs) (Created page with " Number of lines per author in current HEAD (from [http://stackoverflow.com/questions/1265040/how-to-count-total-lines-changed-by-a-specific-author-in-a-git-repository stackov...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Number of lines per author in current HEAD (from stackoverflow):

 git ls-files -z | xargs -0n1 git blame -w | perl -n -e '/^.*?\((.*?)\s+[\d]{4}/; print $1,"\n"' | sort -f | uniq -c | sort -n