]> git.phdru.name Git - git-scripts.git/blobdiff - all-status-carefully
Test status only in repos with worktrees
[git-scripts.git] / all-status-carefully
index 8a767d22ff31841fda7fabbf8225acf3df9796d1..97c2c4b548d34e621a000a1091404b5d0703ecfe 100755 (executable)
@@ -8,6 +8,7 @@ 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`" && echo "----- $d -----" &&' \
    'git status --short --branch'