contrib: refactor, and conform to git

This commit is contained in:
Nicolai Skogheim 2015-07-29 12:03:45 +02:00
parent 371dcdff13
commit 4b4276e3fc

View file

@ -4,6 +4,4 @@ user="$*"
test -z "$user" && echo "user name required." 1>&2 && exit 1
count=`git log --oneline --pretty="format: %an" | grep -- "$user" | wc -l`
test $count -eq 0 && echo "$user did not contribute." && exit 1
git shortlog | grep -A $count -- "$user ("
git shortlog --author="$user"