Skip to content

Commit

Permalink
allow delta data reuse even if base object is a preferred base
Browse files Browse the repository at this point in the history
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
  • Loading branch information
Nicolas Pitre authored and Junio C Hamano committed Sep 27, 2006
1 parent f130446 commit a270069
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builtin-pack-objects.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a270069

Please sign in to comment.