3 LSTMP="$HOME"/tmp/ls-status-carefully.tmp
5 trap 'exec rm -rf "$LSTMP"' 0 HUP INT QUIT TERM
7 cd "`dirname \"$0\"`" && prog_dir="`pwd`" &&
8 rm -rf "$LSTMP" && mkdir "$LSTMP" &&
11 'test "$g" = "$d/.git" || continue;' \
12 'rsync -aW --del --protocol=28 "$d" "$LSTMP" && cd "$LSTMP/$b" &&' \
13 'test -n "`git status --short`" && echo "$d"'