X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=ls-not-pushed;h=bc950e5c678b24217b34858b1366418a66133d69;hb=e364445d1adb40b906101cb3ce1acde85b2ffd36;hp=7e9bb4e59f172f61605966b9d1fb5e0273b4429b;hpb=396a2fe8b0c7352fac32db0f7c0e65b92930904b;p=git-scripts.git diff --git a/ls-not-pushed b/ls-not-pushed index 7e9bb4e..bc950e5 100755 --- a/ls-not-pushed +++ b/ls-not-pushed @@ -1,6 +1,2 @@ #! /bin/sh - -exec "`dirname \"$0\"`"/do-all \ - 'test "$g" = "$d/.git" || continue; cd "$d" &&' \ - 'test -n "`git status --branch --short | grep "ahead\|behind"`" && - echo "$d"' +if git branch --verbose | grep -q "ahead\|behind"; then pwd; fi