X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;ds=sidebyside;f=all-status-carefully;fp=all-status-carefully;h=8a767d22ff31841fda7fabbf8225acf3df9796d1;hb=3ae3b62b948c2d1b32742d3e6f1b103f65f258e0;hp=0000000000000000000000000000000000000000;hpb=bd017bfadeaff71f34dbb38b1eac322ef52b7483;p=git-scripts.git diff --git a/all-status-carefully b/all-status-carefully new file mode 100755 index 0000000..8a767d2 --- /dev/null +++ b/all-status-carefully @@ -0,0 +1,13 @@ +#! /bin/sh + +STMP="$HOME"/tmp/all-status-carefully.tmp +export STMP +trap 'exec rm -rf "$STMP"' 0 HUP INT QUIT TERM + +cd "`dirname \"$0\"`" && prog_dir="`pwd`" && +rm -rf "$STMP" && mkdir "$STMP" && + +"$prog_dir"/do-all \ + 'rsync -aW --del --protocol=28 "$d" "$STMP" && cd "$STMP/$b" &&' \ + 'test -n "`git status --short`" && echo "----- $d -----" &&' \ + 'git status --short --branch'