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

[PATCH 0/3] Add option to recurse into submodules

From
Stefan Beller <sbeller@google.com>
Date
May 17, 2017, 21:31 UTC
Message-ID
<20170517213135.20988-1-sbeller@google.com>

In a submodule heavy workflow it becomes tedious to pass in --recurse-submodules all the time, so make an option for it.

Thanks, Stefan

Stefan Beller (3):
  submodule.c: add has_submodules to check if we have any submodules
  submodule test invocation: only pass additional arguments
  Introduce submodule.recurse option
 Documentation/config.txt       |  5 +++
 builtin/checkout.c             |  8 ++--
 builtin/fetch.c                |  2 +-
 builtin/read-tree.c            |  2 +-
 builtin/reset.c                |  2 +-
 builtin/submodule--helper.c    |  6 +--
 submodule.c                    | 83 ++++++++++++++++++++++++++++++++++--------
 submodule.h                    |  8 +++-
 t/lib-submodule-update.sh      | 18 ++++++++-
 t/t1013-read-tree-submodule.sh |  4 +-
 t/t2013-checkout-submodule.sh  |  4 +-
 t/t5526-fetch-submodules.sh    | 10 +++++
 t/t7112-reset-submodule.sh     |  4 +-
 unpack-trees.c                 |  2 +-
 14 files changed, 121 insertions(+), 37 deletions(-)
-- 
2.13.0.18.g7d86cc8ba0
Next: Stefan Beller
Message 1 of 13 in “Add option to recurse into submodules”
  1. 0/3 Add option to recurse into submodulesStefan Beller, May 17, 2017
  2. 2/3 submodule test invocation: only pass additional argumentsStefan Beller, May 17, 2017
  3. 1/3 submodule.c: add has_submodules to check if we have any submodulesStefan Beller, May 17, 2017
  4. Junio C HamanoMay 18, 2017
  5. Stefan BellerMay 18, 2017
  6. Brandon WilliamsMay 18, 2017
  7. Stefan BellerMay 18, 2017
  8. Brandon WilliamsMay 18, 2017
  9. Stefan BellerMay 18, 2017
  10. 3/3 Introduce submodule.recurse optionStefan Beller, May 17, 2017
  11. Brandon WilliamsMay 18, 2017
  12. Stefan BellerMay 18, 2017
  13. Brandon WilliamsMay 18, 2017

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.