prog_dir=`dirname "$0"`
"$prog_dir"/do-all \
- 'echo "----- $d -----" && cd "$d" &&' \
- 'git status --short --branch || exit 1'
+ 'test "$g" = "$d/.git" || continue; cd "$d" &&' \
+ 'echo "----- $d -----" && git status --short --branch || exit 1'
rm -rf "$STMP" && mkdir "$STMP" &&
"$prog_dir"/do-all \
+ 'test "$g" = "$d/.git" || continue;' \
'rsync -aW --del --protocol=28 "$d" "$STMP" && cd "$STMP/$b" &&' \
'test -n "`git status --short`" && echo "----- $d -----" &&' \
'git status --short --branch'