pack-objects: avoid delta chains that are too long.
authorJunio C Hamano <junkio@cox.net>
Sat, 18 Feb 2006 04:58:45 +0000 (20:58 -0800)
committerJunio C Hamano <junkio@cox.net>
Sat, 18 Feb 2006 05:48:48 +0000 (21:48 -0800)
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>
No differences found