]> git.phdru.name Git - git-scripts.git/blobdiff - ls-dirty
List dirty repositories
[git-scripts.git] / ls-dirty
diff --git a/ls-dirty b/ls-dirty
new file mode 100755 (executable)
index 0000000..e5d64da
--- /dev/null
+++ b/ls-dirty
@@ -0,0 +1,5 @@
+#! /bin/sh
+
+exec "`dirname \"$0\"`"/do-all \
+   'test "$g" = "$d/.git" || continue; cd "$d" &&' \
+   'test -n "`git status -s`" && echo "$d"'