[PATCH 1/6] index-pack: unify threaded and unthreaded code
From: Jonathan Tan <hidden>
Date: 2019-10-09 23:44:33
Subsystem:
the rest · Maintainer:
Linus Torvalds
From: Jonathan Tan <hidden>
Date: 2019-10-09 23:44:33
Subsystem:
the rest · Maintainer:
Linus Torvalds
Signed-off-by: Jonathan Tan <redacted> --- builtin/index-pack.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-)
diff --git a/builtin/index-pack.c b/builtin/index-pack.c
index a23454da6e..1a2600d4b3 100644
--- a/builtin/index-pack.c
+++ b/builtin/index-pack.c@@ -1210,15 +1210,7 @@ static void resolve_deltas(void) cleanup_thread(); return; } - - 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); - } + threaded_second_pass(¬hread_data); } /*
--
2.23.0.581.g78d2f28ef7-goog