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