From: Stefan Beller Date: Wed, 16 Mar 2016 01:12:14 GMT Subject: [PATCH 0/3] Towards sane shallow clones with submodules 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