Difference between revisions of "A couple tricks for stats"

From Yade

(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...")
(No difference)

Revision as of 10:22, 24 April 2013

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