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