Skip to content

Commit 46e6fb1

Browse files
jonathantanmygitster
authored andcommitted
index-pack: unify threaded and unthreaded code
Signed-off-by: Jonathan Tan <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent fc968e2 commit 46e6fb1

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

builtin/index-pack.c

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1211,15 +1211,7 @@ static void resolve_deltas(void)
12111211
cleanup_thread();
12121212
return;
12131213
}
1214-
1215-
for (i = 0; i < nr_objects; i++) {
1216-
struct object_entry *obj = &objects[i];
1217-
1218-
if (is_delta_type(obj->type))
1219-
continue;
1220-
resolve_base(obj);
1221-
display_progress(progress, nr_resolved_deltas);
1222-
}
1214+
threaded_second_pass(&nothread_data);
12231215
}
12241216

12251217
/*

0 commit comments

Comments
 (0)