]> git.phdru.name Git - git-scripts.git/blobdiff - ls-not-pushed
Use git status --branch --short
[git-scripts.git] / ls-not-pushed
index 9834b6063658bb342aa63ac024da1b62ae522099..461431f54b4521be1fb05b26da623773d7b0a1af 100755 (executable)
@@ -3,4 +3,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"'