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:

committed by
Junio C Hamano

parent
f130446920
commit
a270069699
@ -988,7 +988,7 @@ static void check_object(struct object_entry *entry)
|
|||||||
unuse_packed_git(p);
|
unuse_packed_git(p);
|
||||||
entry->in_pack_header_size = used;
|
entry->in_pack_header_size = used;
|
||||||
|
|
||||||
if (base_entry && !base_entry->preferred_base) {
|
if (base_entry) {
|
||||||
|
|
||||||
/* Depth value does not matter - find_deltas()
|
/* Depth value does not matter - find_deltas()
|
||||||
* will never consider reused delta as the
|
* will never consider reused delta as the
|
||||||
|
Reference in New Issue
Block a user