submodules: allow parallel fetching, add tests and documentation
This enables the work of the previous patches. Signed-off-by: Stefan Beller <sbeller@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
fe85ee6e23
commit
62104ba14a
@ -729,10 +729,9 @@ static int fetch_finish(int retvalue, struct child_process *cp,
|
||||
|
||||
int fetch_populated_submodules(const struct argv_array *options,
|
||||
const char *prefix, int command_line_option,
|
||||
int quiet)
|
||||
int quiet, int max_parallel_jobs)
|
||||
{
|
||||
int i;
|
||||
int max_parallel_jobs = 1;
|
||||
struct submodule_parallel_fetch spf = SPF_INIT;
|
||||
|
||||
spf.work_tree = get_git_work_tree();
|
||||
|
||||
Reference in New Issue
Block a user