Skip to content

Towards sane shallow clones with submodules

Stefan Beller git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3clone: add `--shallow-submodules` flagDocumentation/git-clone.txt builtin/clone.c+17 -32 replies
2/3submodule clone: pass along `local` optionbuiltin/clone.c builtin/submodule--helper.c git-submodule.sh+40 -30 replies
3/3clone: Add t5614 to test cloning submodules with shallowness involvedt/t5614-clone-submodules.sh+82 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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
Signature · 1 line
2.7.0.rc0.42.g8e9204f.dirty