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 коммит произвёл Junio C Hamano
Родитель f130446920
Коммит a270069699
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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