]> git.phdru.name Git - git-scripts.git/blobdiff - all-status
Test status only in repos with worktrees
[git-scripts.git] / all-status
index 6f11e591523faa81816538f5eb4a18f7b093ba7e..60ab248403f596b5666728ee38cf22dfd73f874d 100755 (executable)
@@ -2,5 +2,5 @@
 
 prog_dir=`dirname "$0"`
 "$prog_dir"/do-all \
-   'echo "----- $d -----" && cd "$d" &&' \
-   'git status --short --branch || exit 1'
+   'test "$g" = "$d/.git" || continue; cd "$d" &&' \
+   'echo "----- $d -----" && git status --short --branch || exit 1'