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

[PATCHv6 0/8] Expose submodule parallelism to the user

From
Stefan Beller <sbeller@google.com>
Date
Dec 14, 2015, 22:54 UTC
Message-ID
<1450133665-3783-1-git-send-email-sbeller@google.com>
This is a resend of sb/submodule-parallel-update and is available at github[1] as well.

What does it do? --- This series should finish the on going efforts of parallelizing submodule network traffic. The patches contain tests for clone, fetch and submodule update to use the actual parallelism both via command line as well as a configured option. I decided to go with "submodule.fetchJobs" for all three for now.

What changed to v5? --- No major changes, I just made it compile again as thr order of parameters to the parallel processing engine changed.

Thanks, Stefan

[1] https://github.com/stefanbeller/git/tree/submodule-parallel-update-2 which is on top of https://github.com/stefanbeller/git/tree/submodule-parallel-fetch-2 which I sent to the list about 3 hours ago.

Stefan Beller (8):
  submodule-config: keep update strategy around
  submodule-config: drop check against NULL
  submodule-config: remove name_and_item_from_var
  submodule-config: introduce parse_generic_submodule_config
  fetching submodules: respect `submodule.fetchJobs` config option
  git submodule update: have a dedicated helper for cloning
  submodule update: expose parallelism to the user
  clone: allow an explicit argument for parallel submodule clones
 Documentation/config.txt        |   7 ++
 Documentation/git-clone.txt     |   6 +-
 Documentation/git-submodule.txt |   7 +-
 builtin/clone.c                 |  19 +++-
 builtin/fetch.c                 |   2 +-
 builtin/submodule--helper.c     | 239 ++++++++++++++++++++++++++++++++++++++++
 git-submodule.sh                |  54 ++++-----
 submodule-config.c              | 109 +++++++++++-------
 submodule-config.h              |   3 +
 submodule.c                     |   5 +
 t/t5526-fetch-submodules.sh     |  14 +++
 t/t7400-submodule-basic.sh      |   4 +-
 t/t7406-submodule-update.sh     |  27 +++++
 13 files changed, 413 insertions(+), 83 deletions(-)
-- 
2.6.4.443.ge094245.dirty
Next: Stefan Beller
Message 1 of 9 in “[PATCHv6 0/8] Expose submodule parallelism to the user”
  1. Stefan BellerDec 14, 2015
  2. 1/8 submodule-config: keep update strategy aroundStefan Beller, Dec 14, 2015
  3. 2/8 submodule-config: drop check against NULLStefan Beller, Dec 14, 2015
  4. 3/8 submodule-config: remove name_and_item_from_varStefan Beller, Dec 14, 2015
  5. 4/8 submodule-config: introduce parse_generic_submodule_configStefan Beller, Dec 14, 2015
  6. 5/8 fetching submodules: respect `submodule.fetchJobs` config optionStefan Beller, Dec 14, 2015
  7. 6/8 git submodule update: have a dedicated helper for cloningStefan Beller, Dec 14, 2015
  8. 7/8 submodule update: expose parallelism to the userStefan Beller, Dec 14, 2015
  9. 8/8 clone: allow an explicit argument for parallel submodule clonesStefan Beller, Dec 14, 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.