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