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

[PATCH 0/8] Fixes for the parallel processing engine and git submodule update

From
Stefan Beller <sbeller@google.com>
Date
Oct 20, 2015, 22:43 UTC
Message-ID
<1445381030-23912-1-git-send-email-sbeller@google.com>

Patches 1-6 replace the last 6 patches of sb/submodule-parallel-fetch (Patch 1,2 changed code, 3,4 stayed as is, 5 has more commit message, Patch 6 is the same again)

Patches 7,8 are new in the series . Patch 7 keeps the update strategy in the cached submodue structs around, Patch 8 rewrites some small part of the git submodule update script in C by having another larger helper function in builtin/submodule--helper.c which takes care of the cloning new submodules without having all the intermediate steps as in previous versions of this series.

The patch 8 is just a rewrite/translation without enabling the parallel processing though. This will be done in a later patch once we have bike shedded enough how to name the user facing option for that. (I guess the CLI option would be --jobs again, but I'd rather hint at the config option)

This supersedes [RFC PATCHv1 00/12] git submodule update in C with parallel cloning

Any feedback welcome! Thanks, Stefan

Stefan Beller (8):
  run-command: Fix early shutdown
  run-command: Call get_next_task with a clean child process.
  run-command: Initialize the shutdown flag
  test-run-command: Test for gracefully aborting
  test-run-command: Increase test coverage
  run-command: Fix missing output from late callbacks
  submodule config: Keep update strategy around
  git submodule update: Have a dedicated helper for cloning
 builtin/submodule--helper.c | 222 ++++++++++++++++++++++++++++++++++++++++++++
 git-submodule.sh            |  45 +++------
 run-command.c               |  27 +++++-
 submodule-config.c          |  11 +++
 submodule-config.h          |   1 +
 t/t0061-run-command.sh      |  37 +++++++-
 t/t7400-submodule-basic.sh  |   4 +-
 test-run-command.c          |  37 +++++++-
 8 files changed, 340 insertions(+), 44 deletions(-)
-- 
2.5.0.275.gbfc1651.dirty
Next: Stefan Beller
Message 1 of 17 in “Fixes for the parallel processing engine and git submodule update”
  1. 0/8 Fixes for the parallel processing engine and git submodule updateStefan Beller, Oct 20, 2015
  2. 1/8 run-command: Fix early shutdownStefan Beller, Oct 20, 2015
  3. 2/8 run-command: Call get_next_task with a clean child process.Stefan Beller, Oct 20, 2015
  4. Junio C HamanoOct 20, 2015
  5. Junio C HamanoOct 20, 2015
  6. Junio C HamanoOct 21, 2015
  7. Stefan BellerOct 21, 2015
  8. 3/8 run-command: Initialize the shutdown flagStefan Beller, Oct 20, 2015
  9. 4/8 test-run-command: Test for gracefully abortingStefan Beller, Oct 20, 2015
  10. 5/8 test-run-command: Increase test coverageStefan Beller, Oct 20, 2015
  11. 6/8 run-command: Fix missing output from late callbacksStefan Beller, Oct 20, 2015
  12. 7/8 submodule config: Keep update strategy aroundStefan Beller, Oct 20, 2015
  13. 8/8 git submodule update: Have a dedicated helper for cloningStefan Beller, Oct 20, 2015
  14. Junio C HamanoOct 21, 2015
  15. Stefan BellerOct 21, 2015
  16. Junio C HamanoOct 21, 2015
  17. Stefan BellerOct 21, 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.