]> git.phdru.name Git - git-scripts.git/blobdiff - ls-not-pushed
Fix copy/paste bug
[git-scripts.git] / ls-not-pushed
index 9834b6063658bb342aa63ac024da1b62ae522099..7e9bb4e59f172f61605966b9d1fb5e0273b4429b 100755 (executable)
@@ -2,5 +2,5 @@
 
 exec "`dirname \"$0\"`"/do-all \
    'test "$g" = "$d/.git" || continue; cd "$d" &&' \
-   'test -n "`git status --branch --untracked-files=no |
-      grep "ahead\|behind"`" && echo "$d"'
+   'test -n "`git status --branch --short | grep "ahead\|behind"`" &&
+   echo "$d"'