diff options
author | Nicolas Pitre <nico@cam.org> | 2006-09-27 15:42:16 -0400 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-09-27 13:32:54 -0700 |
commit | a2700696995651322796e04092bf4a4bfed31b88 (patch) | |
tree | 833c0e97098aaf23feffdf70c23b207ad7330196 /builtin-pack-objects.c | |
parent | f130446920b550a69716346fb9a9947c04fc7f90 (diff) | |
download | git-a2700696995651322796e04092bf4a4bfed31b88.tar.gz |
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>
Diffstat (limited to 'builtin-pack-objects.c')
-rw-r--r-- | builtin-pack-objects.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-pack-objects.c b/builtin-pack-objects.c index 16e98f3f3f..ee5f031bc2 100644 --- a/builtin-pack-objects.c +++ b/builtin-pack-objects.c @@ -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 |