X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;ds=sidebyside;f=ls-not-packed;h=d01a9539f44931c51ccd45523b9757786a1a4e3f;hb=HEAD;hp=d2bb878ebfa16a2722b2f20869bff0611bab5e5b;hpb=9d1f4913c3228f846cfe1eb81e42dc1a2902b29c;p=git-scripts.git diff --git a/ls-not-packed b/ls-not-packed index d2bb878..f186f58 100755 --- a/ls-not-packed +++ b/ls-not-packed @@ -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