diff options
author | Nicolas Pitre <nico@cam.org> | 2008-11-12 21:23:58 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-11-13 01:55:03 +0300 |
commit | a1e4760fcfece8eb9b556f35a04a521fdee3963c (patch) | |
tree | 4923753aaa855dedfab330b250856b99cca5cea2 /read-cache.c | |
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>
Diffstat (limited to 'read-cache.c')
0 files changed, 0 insertions, 0 deletions