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