X-Git-Url: https://git.phdru.name/?p=git-scripts.git;a=blobdiff_plain;f=ls-not-pushed;h=9834b6063658bb342aa63ac024da1b62ae522099;hp=da3b8011449f8caea5b6a5098a8ad8713b967324;hb=309577a0b53a652d6e02486fea046fb837afb2f2;hpb=c48617fadacbae620b1b454360948df730a3e250 diff --git a/ls-not-pushed b/ls-not-pushed index da3b801..9834b60 100755 --- a/ls-not-pushed +++ b/ls-not-pushed @@ -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"'