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> | |
Sat, 18 Feb 2006 05:48:48 +0000 (21:48 -0800) | ||
commit | e4c9327a77bd59e85d4b17a612e78977d68773ee | |
tree | 84bccb584df5cf44465cff95bb17eb3ef92e0da8 | tree | snapshot |
parent | cec2be76d9789b11c7f955b62dcad4b1050202af | 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 |