diff options
author | Junio C Hamano <junkio@cox.net> | 2005-10-20 00:01:50 +0200 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-10-20 00:01:50 +0200 |
commit | d6a461e17758f369cd7b76e78262b1717cc5c39c (patch) | |
tree | 3496458ade725114f0babbd2c6683c4115a40c51 /git-count-objects.sh | |
parent | git-clone: always keep pack sent from remote (documentation). (diff) | |
download | git-d6a461e17758f369cd7b76e78262b1717cc5c39c.tar.xz git-d6a461e17758f369cd7b76e78262b1717cc5c39c.zip |
count-objects: squelch error from find on sparse object directory.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-count-objects.sh')
-rwxr-xr-x | git-count-objects.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-count-objects.sh b/git-count-objects.sh index 74ee4f371f..843d2fd9f2 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. |