Signed-off-by: Bruno Ribas <ribas@xxxxxxxxxxxx> --- builtin-pack-objects.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/builtin-pack-objects.c b/builtin-pack-objects.c index b5f9648..04a4abc 100644 --- a/builtin-pack-objects.c +++ b/builtin-pack-objects.c @@ -1254,8 +1254,6 @@ static int try_delta(struct unpacked *trg, struct unpacked *src, } if (!src->index) { src->index = create_delta_index(src->data, src_size); - if (!src->index) - die("out of memory"); } delta_buf = create_delta(src->index, trg->data, trg_size, &delta_size, max_size); -- 1.5.0.3 - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html