]> git.phdru.name Git - git-scripts.git/blobdiff - ls-not-packed
Do something on all located git repositories
[git-scripts.git] / ls-not-packed
diff --git a/ls-not-packed b/ls-not-packed
new file mode 100755 (executable)
index 0000000..d2bb878
--- /dev/null
@@ -0,0 +1,4 @@
+#! /bin/sh
+
+exec "`dirname \"$0\"`"/do-all \
+   'test "`ls -1 \"$g\"/objects 2>/dev/null | wc -l`" -gt 2 && echo "$d"'