X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=git-count-objects.sh;h=843d2fd9f2ef53ccd1600dd9b89ec70fbc639146;hb=50496b2170cbe87b4c13f89f274aa2f181522bb9;hp=74ee4f371f749cb5ae9fdb7e789d341f60997e62;hpb=c1067050ce58b5b39f528fe634732da858664603;p=git.git diff --git a/git-count-objects.sh b/git-count-objects.sh index 74ee4f37..843d2fd9 100755 --- a/git-count-objects.sh +++ b/git-count-objects.sh @@ -2,7 +2,7 @@ . git-sh-setup -echo $(find "$GIT_DIR/objects"/?? -type f -print | wc -l) objects, \ +echo $(find "$GIT_DIR/objects"/?? -type f -print 2>/dev/null | wc -l) objects, \ $({ echo 0 # "no-such" is to help Darwin folks by not using xargs -r.