X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=ls-status;h=3bcc50cab7970ca060a3f45a6b5a9909b7f9e442;hb=c6fb90506269530c506ff4130271e86eb2b88a13;hp=f90ae41df0337f3f172376bfdeb2e7967d666330;hpb=dd3522af34b4065fd11806c7a79ff5e0159e81cc;p=git-scripts.git diff --git a/ls-status b/ls-status index f90ae41..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 --short`" && 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