X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=ls-not-packed;h=f186f58d2ac436dd8633a7e8e2affe53fe9b3e00;hb=fe99855e1c76f5699a12eae8a5bab618a1e59e1e;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