#! /bin/sh
-cd "`dirname \"$0\"`" && PROG_DIR="`pwd`" &&
-cd "$HOME"/tmp && rm -rf ls-dirty-carefully.tmp &&
+cd "`dirname \"$0\"`" && prog_dir="`pwd`" &&
+cd "$HOME"/tmp && rm -rf ls-status-carefully.tmp &&
-LSTMP="$HOME"/tmp/ls-dirty-carefully.tmp \
-"$PROG_DIR"/do-all \
+LSTMP="$HOME"/tmp/ls-status-carefully.tmp \
+"$prog_dir"/do-all \
'test "$g" = "$d/.git" || continue;' \
'rsync -aW --del --protocol=28 "$d" "$LSTMP" && cd "$LSTMP/$b" &&' \
- 'test -n "`git status -s`" && echo "$d"' &&
+ 'test -n "`git status --short`" && echo "$d"' &&
-cd "$HOME"/tmp && exec rm -rf ls-dirty-carefully.tmp
+cd "$HOME"/tmp && exec rm -rf ls-status-carefully.tmp