diff options
author | Stefan Beller <sbeller@google.com> | 2016-02-29 18:07:19 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-03-01 11:57:20 -0800 |
commit | 2335b870fa7942d9ca9e73e96e35171fda741376 (patch) | |
tree | f76c7f7b8fcd2d4bcac7ec1f57f53eb079c2b1c0 /sequencer.c | |
parent | submodule helper: remove double 'fatal: ' prefix (diff) | |
download | tgif-2335b870fa7942d9ca9e73e96e35171fda741376.tar.xz |
submodule update: expose parallelism to the user
Expose possible parallelism either via the "--jobs" CLI parameter or
the "submodule.fetchJobs" setting.
By having the variable initialized to -1, we make sure 0 can be passed
into the parallel processing machine, which will then pick as many parallel
workers as there are CPUs.
Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'sequencer.c')
0 files changed, 0 insertions, 0 deletions