author | Junio C Hamano <junkio@cox.net> | |
Sat, 18 Feb 2006 04:58:45 +0000 (20:58 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Wed, 22 Feb 2006 21:14:57 +0000 (13:14 -0800) | ||
commit | 15b4d577ae2e0117b7b5a4add2217442a8458812 | |
tree | a848f93d0530f2c4d71ceac2dbea2c1314b4b481 | tree | snapshot |
parent | 4181bda1567fc749623eac1c81c2b07c882d63b3 | commit | diff |
pack-objects: avoid delta chains that are too long.
This tries to rework the solution for the excess delta chain
problem. An earlier commit worked it around ``cheaply'', but
repeated repacking risks unbound growth of delta chains.
This version counts the length of delta chain we are reusing
from the existing pack, and makes sure a base object that has
sufficiently long delta chain does not get deltified.
Signed-off-by: Junio C Hamano <junkio@cox.net>
This tries to rework the solution for the excess delta chain
problem. An earlier commit worked it around ``cheaply'', but
repeated repacking risks unbound growth of delta chains.
This version counts the length of delta chain we are reusing
from the existing pack, and makes sure a base object that has
sufficiently long delta chain does not get deltified.
Signed-off-by: Junio C Hamano <junkio@cox.net>
pack-objects.c | diff | blob | history |