X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=all-status;h=102bf24f4bfe5b884bf8178c3e3cae2c07bb82b1;hb=13b95111ceb542d9617c4f1a7f44dfde691ed226;hp=6f11e591523faa81816538f5eb4a18f7b093ba7e;hpb=3ae3b62b948c2d1b32742d3e6f1b103f65f258e0;p=git-scripts.git diff --git a/all-status b/all-status index 6f11e59..102bf24 100755 --- a/all-status +++ b/all-status @@ -1,6 +1,9 @@ #! /bin/sh -prog_dir=`dirname "$0"` -"$prog_dir"/do-all \ - 'echo "----- $d -----" && cd "$d" &&' \ - 'git status --short --branch || exit 1' +cd "`dirname \"$0\"`" && +prog_dir="`pwd`" && +export prog_dir + +exec "$prog_dir"/do-all \ + 'test "$g" = "$d/.git" || continue; cd "$d" &&' \ + 'echo "----- $d -----" && "$prog_dir"/git-status.sh --short --branch || exit 1'