allow delta data reuse even if base object is a preferred base

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
Nicolas Pitre 2006-09-27 15:42:16 -04:00 committed by Junio C Hamano
parent f130446920
commit a270069699

View File

@ -988,7 +988,7 @@ static void check_object(struct object_entry *entry)
unuse_packed_git(p);
entry->in_pack_header_size = used;
if (base_entry && !base_entry->preferred_base) {
if (base_entry) {
/* Depth value does not matter - find_deltas()
* will never consider reused delta as the