author | Junio C Hamano <junkio@cox.net> | |
Wed, 15 Nov 2006 06:18:31 +0000 (22:18 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Fri, 17 Nov 2006 08:09:52 +0000 (00:09 -0800) | ||
commit | e9195b584f6ad49b637b56be0705a7362a95d692 | |
tree | 6be750df4dc97140b9d95691ad2b29cb69d04ef2 | tree | snapshot |
parent | 6b1f8c32b1a602734f14b9cf8a9f59a767752677 | commit | diff |
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>
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 | diff | blob | history |