@matheusbsbs / matheus-bagliano / commits / a270069699
Fork 0

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>

Nicolas Pitre committed Sep 27, 2006 at 15:42 UTC a2700696995651322796e04092bf4a4bfed31b88
1 file changed +1 -1
builtin-pack-objects.c
+1 -1
@@ -988,7 +988,7 @@ static void check_object(struct object_entry *entry)
988 unuse_packed_git(p);
989 entry->in_pack_header_size = used;
990
991 - if (base_entry && !base_entry->preferred_base) {
991 + if (base_entry) {
992
993 /* Depth value does not matter - find_deltas()
994 * will never consider reused delta as the