pack-objects: tweak "do not even attempt delta" heuristics
authorJunio C Hamano <junkio@cox.net>
Wed, 15 Nov 2006 06:18:31 +0000 (22:18 -0800)
committerJunio C Hamano <junkio@cox.net>
Fri, 17 Nov 2006 08:09:52 +0000 (00:09 -0800)
commite9195b584f6ad49b637b56be0705a7362a95d692
tree6be750df4dc97140b9d95691ad2b29cb69d04ef2
parent6b1f8c32b1a602734f14b9cf8a9f59a767752677
pack-objects: tweak "do not even attempt delta" heuristics

The heuristics to give up deltification when both the source and the
target are both in the same pack affects negatively when we are
repacking the subset of objects in the existing pack.  This caused
any incremental updates to use suboptimal packs.  Tweak the heuristics
to avoid this problem.

Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-pack-objects.c