[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Git packaging workflow discussion on planet.d.o



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


Reply to: