Browse Source

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>
maint
Nicolas Pitre 19 years ago committed by Junio C Hamano
parent
commit
a270069699
  1. 2
      builtin-pack-objects.c

2
builtin-pack-objects.c

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

Loading…
Cancel
Save