X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=ls-not-pushed-carefully;h=0ae1935e3bccacec74c64a85c16afa17c8d0c3c5;hb=85d2f64a37d2256a5250dec1b5de542177dd7a76;hp=f5d59284fe87ed6520006140d5588f7b5642b904;hpb=32993f082a53718cf86afed2f43dff6d73143277;p=git-scripts.git diff --git a/ls-not-pushed-carefully b/ls-not-pushed-carefully index f5d5928..0ae1935 100755 --- a/ls-not-pushed-carefully +++ b/ls-not-pushed-carefully @@ -7,7 +7,7 @@ LSTMP="$HOME"/tmp/ls-not-pushed-carefully.tmp \ "$prog_dir"/do-all \ 'test "$g" = "$d/.git" || continue;' \ 'rsync -aW --del --protocol=28 "$d" "$LSTMP" && cd "$LSTMP/$b" &&' \ - 'test -n "`git status --branch --untracked-files=no | - grep "ahead\|behind"`" && echo "$d"' && + 'test -n "`git status --branch --short | grep "ahead\|behind"`" && + echo "$d"' && cd "$HOME"/tmp && exec rm -rf ls-not-pushed-carefully.tmp