From 75ad8a6c8290f63d04f880146fb71ccf7819585c Mon Sep 17 00:00:00 2001 From: Domenico Rotiroti Date: Tue, 7 Sep 2010 17:12:54 +0200 Subject: [PATCH] A fix for git-count --- bin/git-count | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/git-count b/bin/git-count index bab5da5..f4a401d 100755 --- a/bin/git-count +++ b/bin/git-count @@ -1,6 +1,6 @@ #!/bin/sh -arg=$1; shift +if [ ! -z "$1" ]; then arg=$1; shift; fi if test "$arg" = "--all"; then git shortlog -n $@ | grep "):" | sed 's|:||' echo