allow delta data reuse even if base object is a preferred base
authorNicolas Pitre <nico@cam.org>
Wed, 27 Sep 2006 19:42:16 +0000 (15:42 -0400)
committerJunio C Hamano <junkio@cox.net>
Wed, 27 Sep 2006 20:32:54 +0000 (13:32 -0700)
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-pack-objects.c

index 16e98f3f3f7303aaf613e4e17b317b2f6a975580..ee5f031bc2d3ead1027b56884c1d5a1fd69756aa 100644 (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