]> git.phdru.name Git - git-scripts.git/blobdiff - ls-status-carefully
Feat(status): Copy index and set GIT_INDEX_FILE to avoid touching .git
[git-scripts.git] / ls-status-carefully
diff --git a/ls-status-carefully b/ls-status-carefully
deleted file mode 100755 (executable)
index cecdfa4..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-#! /bin/sh
-
-LSTMP="$HOME"/tmp/ls-status-carefully.tmp
-export LSTMP
-trap 'exec rm -rf "$LSTMP"' 0 HUP INT QUIT TERM
-
-cd "`dirname \"$0\"`" && prog_dir="`pwd`" &&
-rm -rf "$LSTMP" && mkdir "$LSTMP" &&
-
-"$prog_dir"/do-all \
-   'test "$g" = "$d/.git" || continue;' \
-   'rsync -aW --del --protocol=28 "$d" "$LSTMP" && cd "$LSTMP/$b" &&' \
-   'test -n "`git status --short`" && echo "$d"'