diff --git a/bin/git-count b/bin/git-count index 2f2e2d6..4ebd3d4 100755 --- a/bin/git-count +++ b/bin/git-count @@ -1,8 +1,8 @@ #!/bin/sh if test "$1" = "--all"; then - git shortlog -n $@ | grep "):" | sed 's|:||' + git shortlog -n $@ | grep "):$" | sed 's|:||' echo fi -echo total `git log --oneline | wc -l` \ No newline at end of file +echo total `git log --oneline | wc -l`