X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=ls-not-pushed;h=7e9bb4e59f172f61605966b9d1fb5e0273b4429b;hb=2c654e316392a8b3523ea0495902372d54548e1c;hp=da3b8011449f8caea5b6a5098a8ad8713b967324;hpb=1c1a7c4c39460957d09dec251ed8d532587ec0ac;p=git-scripts.git diff --git a/ls-not-pushed b/ls-not-pushed index da3b801..7e9bb4e 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 --short | grep "ahead\|behind"`" && + echo "$d"'