aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorNicolas Pitre <nico@cam.org>2008-02-28 00:25:20 -0500
committerJunio C Hamano <gitster@pobox.com>2008-03-01 01:44:46 -0800
commit5f4347bba39ddb147b06913ac263fc46954d2d0b (patch)
tree14625a65b23ed1892c9c8de5c86f02e1523fe5d0 /contrib
parent70f5d5d31cbf0ba273083805124ad67135142527 (diff)
downloadgit-5f4347bba39ddb147b06913ac263fc46954d2d0b.tar.gz
git-5f4347bba39ddb147b06913ac263fc46954d2d0b.tar.xz
add storage size output to 'git verify-pack -v'
This can possibly break external scripts that depend on the previous output, but those script can't possibly be critical to Git usage, and fixing them should be trivial. Signed-off-by: Nicolas Pitre <nico@cam.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/stats/packinfo.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/stats/packinfo.pl b/contrib/stats/packinfo.pl
index aab501ea0..f4a7b62cd 100755
--- a/contrib/stats/packinfo.pl
+++ b/contrib/stats/packinfo.pl
@@ -93,7 +93,7 @@ my %depths;
my @depths;
while (<STDIN>) {
- my ($sha1, $type, $size, $offset, $depth, $parent) = split(/\s+/, $_);
+ my ($sha1, $type, $size, $space, $offset, $depth, $parent) = split(/\s+/, $_);
next unless ($sha1 =~ /^[0-9a-f]{40}$/);
$depths{$sha1} = $depth || 0;
push(@depths, $depth || 0);