git count-objects: handle packs bigger than 4G
authorAndreas Schwab <schwab@linux-m68k.org>
Tue, 29 Dec 2009 19:09:15 +0000 (20:09 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 30 Dec 2009 03:51:37 +0000 (19:51 -0800)
commitc985ddf318a8c41c6e1abc8bebd058b31c7413c1
treeed7352463f586831950d33a1220613762d450958
parent66fd74ea5db13e6f095f7c414e9ea4a1aa59cdc7
git count-objects: handle packs bigger than 4G

Use off_t to count sizes of packs and objects to avoid overflow after
4Gb.

Signed-off-by: Andreas Schwab <schwab@linux-m68k.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-count-objects.c