From: Nicolas Pitre Date: Wed, 12 Nov 2008 18:23:58 +0000 (-0500) Subject: Fix pack.packSizeLimit and --max-pack-size handling X-Git-Tag: v1.6.1-rc1~67^2~1 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/a1e4760fcfece8eb9b556f35a04a521fdee3963c?hp=a1e4760fcfece8eb9b556f35a04a521fdee3963c Fix pack.packSizeLimit and --max-pack-size handling If the limit was sufficiently low, having a single object written could bust the limit (by design), but caused the remaining allowed size to go negative for subsequent objects, which for an unsigned variable is a rather huge limit. Signed-off-by: Nicolas Pitre Signed-off-by: Junio C Hamano ---