On Thu, 2013-04-04 at 23:07:04 +0800, Thomas Goirand wrote:
> gen-author-list:
> git log --format='%aN <%aE>' | awk '{arr[$$0]++} END{for (i in
> arr){print arr[i], i;}}' | sort -rn | cut -d' ' -f2-
A better way to write the above could be:
gen-author-list:
git shortlog -nes | tr -s ' '| cut -f2-
which in addition will fix up the authors using any .mailmap rules.
Thanks,
Guillem
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]