commit | a1e4760fcfece8eb9b556f35a04a521fdee3963c | [log] [tgz] |
---|---|---|
author | Nicolas Pitre <nico@cam.org> | Wed Nov 12 13:23:58 2008 -0500 |
committer | Junio C Hamano <gitster@pobox.com> | Wed Nov 12 14:55:03 2008 -0800 |
tree | 4923753aaa855dedfab330b250856b99cca5cea2 | |
parent | fa7b3c2f752a10a5dca9989d4a1c4b93ffa7f943 [diff] |
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 <nico@cam.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>