6c32e2eab89816021433857b72b0be12d56c8c9b
2 git blame
--line-porcelain -- $1 |
awk '/^author /' |
awk '{$1 = ""; author=substr($0, 2); counts[author] += 1} END { for (author in counts) {print counts[author],author,counts[author],counts[author]/NR*100"%"} }' |
sort -nr -k 1 |
awk '{$1 = ""; print $0}'