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 debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130405105720.ga19...@gaara.hadrons.org

Reply via email to