X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=ls-not-packed;h=f186f58d2ac436dd8633a7e8e2affe53fe9b3e00;hb=c5e4601c3938434c414a232ae3bb5d368d25d871;hp=a674f59d80feb3adc22c17141b031f1b1cef920a;hpb=5ce70d78ec131c501d2dcc0732cda2def2d95977;p=git-scripts.git diff --git a/ls-not-packed b/ls-not-packed index a674f59..f186f58 100755 --- a/ls-not-packed +++ b/ls-not-packed @@ -1,6 +1,4 @@ #! /bin/sh -exec "`dirname \"$0\"`"/do-all \ - 'test \ - "`find \"$g\"/objects/ \"$g\"/refs/ \"$g\"/rr-cache/ \ - ! -name HEAD -type f 2>/dev/null | wc -l`" -gt 3 && echo "$d"' +count_obj=`git count-objects -v | grep ^count: | cut -c 8-` +echo $count_obj