count-objects: Add total pack size to verbose output
Adds the total pack size (including indexes) the verbose count-objects output, floored to the nearest kilobyte. Updates documentation to match this addition. Signed-off-by: Marcus Griep <marcus@griep.us> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
053fd0c1c3
commit
f223824943
@ -137,7 +137,7 @@ test_expect_success "clone shallow object count" \
|
||||
"test \"in-pack: 18\" = \"$(grep in-pack count.shallow)\""
|
||||
|
||||
count_output () {
|
||||
sed -e '/^in-pack:/d' -e '/^packs:/d' -e '/: 0$/d' "$1"
|
||||
sed -e '/^in-pack:/d' -e '/^packs:/d' -e '/^size-pack:/d' -e '/: 0$/d' "$1"
|
||||
}
|
||||
|
||||
test_expect_success "clone shallow object count (part 2)" '
|
||||
|
Reference in New Issue
Block a user