index-pack: unify threaded and unthreaded code
Signed-off-by: Jonathan Tan <jonathantanmy@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>maint
parent
fc968e26c2
commit
46e6fb1e44
|
@ -1211,15 +1211,7 @@ static void resolve_deltas(void)
|
||||||
cleanup_thread();
|
cleanup_thread();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
threaded_second_pass(¬hread_data);
|
||||||
for (i = 0; i < nr_objects; i++) {
|
|
||||||
struct object_entry *obj = &objects[i];
|
|
||||||
|
|
||||||
if (is_delta_type(obj->type))
|
|
||||||
continue;
|
|
||||||
resolve_base(obj);
|
|
||||||
display_progress(progress, nr_resolved_deltas);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue