X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=ls-status;h=3bcc50cab7970ca060a3f45a6b5a9909b7f9e442;hb=e364445d1adb40b906101cb3ce1acde85b2ffd36;hp=e5d64da6e7d318fcf2f40f94f9b7a34bd44b7fb4;hpb=309577a0b53a652d6e02486fea046fb837afb2f2;p=git-scripts.git diff --git a/ls-status b/ls-status index e5d64da..3bcc50c 100755 --- a/ls-status +++ b/ls-status @@ -1,5 +1,9 @@ #! /bin/sh -exec "`dirname \"$0\"`"/do-all \ - 'test "$g" = "$d/.git" || continue; cd "$d" &&' \ - 'test -n "`git status -s`" && echo "$d"' +d="`pwd`" && +cd "`dirname \"$0\"`" && +prog_dir="`pwd`" && +export prog_dir && +cd "$d" && + +if [ -n "`"$prog_dir"/git-status.sh --short`" ]; then echo "$d"; fi