diff --git a/bin/git-contrib b/bin/git-contrib index 1dbea523d..b6f163473 100755 --- a/bin/git-contrib +++ b/bin/git-contrib @@ -6,4 +6,4 @@ 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 -- "$user (" -A $count +git shortlog | grep -A $count -- "$user ("