]> git.phdru.name Git - git-scripts.git/blobdiff - all-status-carefully
Feat(status): Copy index and set GIT_INDEX_FILE to avoid touching .git
[git-scripts.git] / all-status-carefully
diff --git a/all-status-carefully b/all-status-carefully
deleted file mode 100755 (executable)
index d0bafa5..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-#! /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 \
-   'test "$g" = "$d/.git" || continue;' \
-   'rsync -aW --del --protocol=28 "$d" "$STMP" && cd "$STMP/$b" &&' \
-   '( test -n "`git status --short`" ||' \
-   'git status --branch --short | grep -q "ahead\|behind" ) &&' \
-   'echo "----- $d -----" && git status --short --branch'