summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a74db82)
raw | patch | inline | side by side (parent: a74db82)
author | Junio C Hamano <junkio@cox.net> | |
Wed, 23 May 2007 06:04:49 +0000 (23:04 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Wed, 23 May 2007 06:04:49 +0000 (23:04 -0700) |
As we do not consider objects marked as "no-delta" early, there
is no point to check if the other objects already in the delta
window are marked as such -- "no-delta" objects will not enter
the window to begin with.
Pointed out by Nico.
Signed-off-by: Junio C Hamano <junkio@cox.net>
is no point to check if the other objects already in the delta
window are marked as such -- "no-delta" objects will not enter
the window to begin with.
Pointed out by Nico.
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-pack-objects.c | patch | blob | history |
diff --git a/builtin-pack-objects.c b/builtin-pack-objects.c
index 225d311e40c70e1a48139d39fd4a3cd4c01e9489..eca130f055ca83b839cfbfdf05907df7fdfbc7c3 100644 (file)
--- a/builtin-pack-objects.c
+++ b/builtin-pack-objects.c
m = array + other_idx;
if (!m->entry)
break;
- if (m->entry->no_try_delta)
- continue;
if (try_delta(n, m, max_depth) < 0)
break;
}