diff --git a/bin/git-count b/bin/git-count index bab5da5b6..2f2e2d69b 100755 --- a/bin/git-count +++ b/bin/git-count @@ -1,7 +1,6 @@ #!/bin/sh -arg=$1; shift -if test "$arg" = "--all"; then +if test "$1" = "--all"; then git shortlog -n $@ | grep "):" | sed 's|:||' echo fi