From: Junio C Hamano Date: Thu, 29 Oct 2015 17:23:48 GMT Subject: Re: [PATCHv2 0/8] Expose the submodule parallelism to the user Message-ID: In-Reply-To: Stefan Beller writes: > On Thu, Oct 29, 2015 at 6:19 AM, Ramsay Jones > wrote: > >> Hmm, is there a way to _not_ fetch in parallel (override the >> config) from the command line for a given command? >> >> ATB, >> Ramsay Jones > > git config submodule.jobs 42 > git --jobs 1 # should run just one task, despite having 42 configured > > It does use the parallel processing machinery though, but with a maximum of > one subcommand being spawned. Is that what you're asking? With this patch, do we still keep a separate machinery that bypasses the parallel thing altogether in the first place? I was hoping that the underlying parallel machinery is polished enough that using it with max=1 parallelism would be equivalent to serial execution. At least, that was my understanding of our goal, and back when we reviewed the previous "fetch --recurse-sub" series, my impression was we were already there. And in that ideal endgame world, your "Give '-j1' from the command line" would be perfectly an acceptable answer ;-). Thanks.