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