]> git.phdru.name Git - git-scripts.git/blob - status-dirty-carefully
Fix copy/paste bug
[git-scripts.git] / status-dirty-carefully
1 #! /bin/sh
2
3 cd "`dirname \"$0\"`" && prog_dir="`pwd`" &&
4 cd "$HOME"/tmp && rm -rf status-dirty-carefully.tmp &&
5
6 LSTMP="$HOME"/tmp/status-dirty-carefully.tmp &&
7 for d in `"$prog_dir"/ls-dirty`
8 do
9    rsync -aW --del --protocol=28 "$d" "$LSTMP" && cd "$LSTMP/`basename $d`" &&
10    echo "----- $d -----" && git status --branch
11 done &&
12
13 cd "$HOME"/tmp && exec rm -rf status-dirty-carefully.tmp