1#!/bin/sh
23
. git-sh-setup-script
45
echo $(find "$GIT_DIR/objects"/?? -type f -print | wc -l) objects, \
6$({
7echo 0
8# "no-such" is to help Darwin folks by not using xargs -r.
9find "$GIT_DIR/objects"/?? -type f -print 2>/dev/null |
10xargs du -k "$GIT_DIR/objects/no-such" 2>/dev/null |
11sed -e 's/[ ].*/ +/'
12echo p
13} | dc) kilobytes