author | Martin Koegler <mkoegler@auto.tuwien.ac.at> | |
Mon, 11 Feb 2008 07:26:25 +0000 (08:26 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 11 Feb 2008 20:24:33 +0000 (12:24 -0800) | ||
commit | 9c2174350cc0ae0f6bad126e15fe1f9f044117ab | |
tree | a3cf08537a034a45dca47fd4807e540a2d8b8b8e | tree | snapshot |
parent | 5a95b85566b1700e042fdce6ec2de9ce7b5a8787 | commit | diff |
pack-objects: only throw away data during memory pressure
If pack-objects hit the memory limit, it deletes objects from the delta
window.
This patch make it only delete the data, which is recomputed, if needed again.
Signed-off-by: Martin Koegler <mkoegler@auto.tuwien.ac.at>
Acked-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
If pack-objects hit the memory limit, it deletes objects from the delta
window.
This patch make it only delete the data, which is recomputed, if needed again.
Signed-off-by: Martin Koegler <mkoegler@auto.tuwien.ac.at>
Acked-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-pack-objects.c | diff | blob | history |