]> git.phdru.name Git - git-scripts.git/blobdiff - ls-not-packed
Feat(submodules/remove): Add option `-c`
[git-scripts.git] / ls-not-packed
index d2bb878ebfa16a2722b2f20869bff0611bab5e5b..f186f58d2ac436dd8633a7e8e2affe53fe9b3e00 100755 (executable)
@@ -1,4 +1,4 @@
 #! /bin/sh
 
-exec "`dirname \"$0\"`"/do-all \
-   'test "`ls -1 \"$g\"/objects 2>/dev/null | wc -l`" -gt 2 && echo "$d"'
+count_obj=`git count-objects -v | grep ^count: | cut -c 8-`
+echo $count_obj