On 04/05/2013 06:57 PM, Guillem Jover wrote:
> 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
Though your version doesn't sort authors by the numbers of commits.

Thomas


-- 
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/515f36a0.7000...@debian.org

Reply via email to