From aefe5c0f1c1c82063a4116c5c0948ca031b0ead3 Mon Sep 17 00:00:00 2001 From: Tj Holowaychuk Date: Tue, 7 Sep 2010 08:55:36 -0700 Subject: [PATCH] Fix shift in git-count --- bin/git-count | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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