mirror of
https://github.com/git/git
synced 2024-08-25 10:45:59 +00:00
count-objects: squelch error from find on sparse object directory.
Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
parent
76e712f1b3
commit
d6a461e177
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue