Staging
v0.5.1
https://github.com/git/git
Revision 87ce294c9129879f717f8749cae1c659e18a3823 authored by Junio C Hamano on 05 November 2005, 19:50:24 UTC, committed by Junio C Hamano on 05 November 2005, 19:50:24 UTC
This is primarily to include the 'git clone -l' (without -s) fix,
first spotted and diagnosed by Linus and caused James Bottomley's
repository to become unreadable.  It also contains documentation
updates happened on the "master" branch since 0.99.9c

Signed-off-by: Junio C Hamano <junkio@cox.net>
2 parent s 6ddc096 + 3d95bf0
Raw File
Tip revision: 87ce294c9129879f717f8749cae1c659e18a3823 authored by Junio C Hamano on 05 November 2005, 19:50:24 UTC
GIT 0.99.9d
Tip revision: 87ce294
git-count-objects.sh
#!/bin/sh

. git-sh-setup

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.
    find "$GIT_DIR/objects"/?? -type f -print 2>/dev/null |
    xargs du -k "$GIT_DIR/objects/no-such" 2>/dev/null |
    sed -e 's/[ 	].*/ +/'
    echo p
} | dc) kilobytes
back to top