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

[PATCH 0/3] Towards sane shallow clones with submodules

From
Stefan Beller <sbeller@google.com>
Date
Mar 16, 2016, 01:12 UTC
Message-ID
<1458090737-14030-1-git-send-email-sbeller@google.com>
This is a first real series following the RFC-y $gmane/288720.

For using submodules as they are now, I would imagine this is a strict improvement. See the tests in last patch to see what a workflow would look like.

Thanks, Stefan

Stefan Beller (3):
  clone: add `--shallow-submodules` flag
  submodule clone: pass along `local` option
  clone: Add t5614 to test cloning submodules with shallowness involved
 Documentation/git-clone.txt | 13 +++++--
 builtin/clone.c             | 21 ++++++++++++
 builtin/submodule--helper.c | 22 ++++++++++--
 git-submodule.sh            |  7 ++++
 t/t5614-clone-submodules.sh | 82 +++++++++++++++++++++++++++++++++++++++++++++
 5 files changed, 139 insertions(+), 6 deletions(-)
 create mode 100755 t/t5614-clone-submodules.sh
-- 
2.7.0.rc0.42.g8e9204f.dirty
Next: Stefan Beller
Message 1 of 6 in “Towards sane shallow clones with submodules”
  1. 0/3 Towards sane shallow clones with submodulesStefan Beller, Mar 16, 2016
  2. 1/3 clone: add `--shallow-submodules` flagStefan Beller, Mar 16, 2016
  3. Lars SchneiderApr 25, 2016
  4. Stefan BellerApr 25, 2016
  5. 2/3 submodule clone: pass along `local` optionStefan Beller, Mar 16, 2016
  6. 3/3 clone: Add t5614 to test cloning submodules with shallowness involvedStefan Beller, Mar 16, 2016

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.