git.99rst.org
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
fc968e2
)
index-pack: unify threaded and unthreaded code
author
Jonathan Tan
<redacted>
Mon, 24 Aug 2020 19:16:34 +0000
(12:16 -0700)
committer
Junio C Hamano
<redacted>
Mon, 24 Aug 2020 21:02:31 +0000
(14:02 -0700)
Signed-off-by: Jonathan Tan <redacted>
Signed-off-by: Junio C Hamano <redacted>
builtin/index-pack.c
patch
|
blob
|
history
diff --git
a/builtin/index-pack.c
b/builtin/index-pack.c
index a8444d550b02f22f54b40c848d617bca80f1b6d5..357e03b5aa2417a2d1c038c77953431a7aaebf97 100644
(file)
--- a/
builtin/index-pack.c
+++ b/
builtin/index-pack.c
@@
-1211,15
+1211,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);
}
/*
git clone https://git.99rst.org/PROJECT