git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Add fetch.recurseSubmoduleParallelism config option

From
Stefan Beller <sbeller@google.com>
Date
Oct 16, 2015, 17:04 UTC
Message-ID
<CAGZ79kZDMawq6f3Jet0o-93-vSamy3skji63brdT3puzaLty5Q@mail.gmail.com>
In-Reply-To
<xmqqa8rnbq9k.fsf@gitster.mtv.corp.google.com>
On Mon, Oct 12, 2015 at 4:50 PM, Junio C Hamano <gitster@pobox.com> wrote:
Show 9 quoted lines
> Stefan Beller <sbeller@google.com> writes:
>
>> There is core.preloadIndex to enable parallel index preload, but
>> that is boolean and not giving fine control to the user. We want to give
>> fine control to the user here I'd assume.
>
> I'd approach this as "fetching multiple submodules at a time", if I
> were deciding its name.
>
so maybe
    fetch.recurseSubmoduleJobs
    fetch.submoduleJobs
    fetch.jobs
    fetch.connectionsToUse

Eventually we want to also be parallel in git fetch --all, when using the latter two we could reuse these then too, no need to support different options for fetch --all and fetch --recurseSubmodules.

Show 5 quoted lines
> So if you want
>
>     [submodule]
>         fetchParallel = 16
>         updateParallel = 4

So you would have different settings here for only slightly different things? So the series I sent out yesterday evening, would make use of updateParallel for parallel cloning then instead?

Previous: Junio C HamanoNext: Junio C Hamano
Message 5 of 9 in “Add fetch.recurseSubmoduleParallelism config option”
  1. Add fetch.recurseSubmoduleParallelism config optionStefan Beller, Oct 12, 2015
  2. Junio C HamanoOct 12, 2015
  3. Stefan BellerOct 12, 2015
  4. Junio C HamanoOct 12, 2015
  5. Stefan BellerOct 16, 2015
  6. Junio C HamanoOct 16, 2015
  7. Junio C HamanoOct 13, 2015
  8. Stefan BellerOct 13, 2015
  9. Junio C HamanoOct 13, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.