Skip to content

Commit

Permalink
contrib: refactor, and conform to git
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolaiskogheim committed Jul 29, 2015
1 parent 72d7fa9 commit f61e930
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions bin/git-contrib
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit f61e930

Please sign in to comment.