summaryrefslogtreecommitdiff
path: root/submodule.c
diff options
context:
space:
mode:
authorStefan Beller <sbeller@google.com>2015-12-15 16:04:12 -0800
committerJunio C Hamano <gitster@pobox.com>2015-12-16 12:06:08 -0800
commit62104ba14af4845c6c1ba1dab05fad4a289d806f (patch)
treecb6c41e411e48b33bb12f85eb1e6f1497e73d63a /submodule.c
parentfe85ee6e23e642985004d37e63b4c0d0e5f30587 (diff)
downloadgit-62104ba14af4845c6c1ba1dab05fad4a289d806f.tar.gz
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>
Diffstat (limited to 'submodule.c')
-rw-r--r--submodule.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/submodule.c b/submodule.c
index 4bc7a45393..b83939c294 100644
--- a/submodule.c
+++ b/submodule.c
@@ -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();