#!/bin/sh # # Generate a list of everyone who has contributed to the project merging those # who commited under two names or email addresses. # Original: https://github.com/Arora/arora/blob/master/generateAuthors # # To can pass an arg (which goes to git log) # Example: to see everyone who contributed between tag 0.6 and now # ./generateAuthors 0.6..HEAD # # Currently this is sorted based on # of commits, sorting contributions is not # a simple topic as pointed out in this article http://lwn.net/Articles/222773/ # # List of aliases # Aqua, Aqua-sama , Xian Nox, xiannox git log --pretty="format:%an %ae" $1 \ | sed -e 's/Aqua /Aqua-sama /g'\ | sed -e 's/Xian Nox xian\.nox@gmail\.com/Aqua-sama aqua@iserlohn-fortress\.net/g'\ | sort | uniq -c | sort -n -r \ | sed -e 's/^ *[0-9]* / /g'