]> git.phdru.name Git - git-scripts.git/blob - all-status-carefully
pull-usrlocalsrc: add git-remote-hg to PATH
[git-scripts.git] / all-status-carefully
1 #! /bin/sh
2
3 STMP="$HOME"/tmp/all-status-carefully.tmp
4 export STMP
5 trap 'exec rm -rf "$STMP"' 0 HUP INT QUIT TERM
6
7 cd "`dirname \"$0\"`" && prog_dir="`pwd`" &&
8 rm -rf "$STMP" && mkdir "$STMP" &&
9
10 "$prog_dir"/do-all \
11    'rsync -aW --del --protocol=28 "$d" "$STMP" && cd "$STMP/$b" &&' \
12    'test -n "`git status --short`" && echo "----- $d -----" &&' \
13    'git status --short --branch'