From: Stefan Beller <sbeller@google.com>
To: git@vger.kernel.org, gitster@pobox.com
Cc: jrnieder@gmail.com, Jens.Lehmann@web.de, pclouds@gmail.com,
larsxschneider@gmail.com, Stefan Beller <sbeller@google.com>
Subject: [PATCH 0/3] Towards sane shallow clones with submodules
Date: Tue, 15 Mar 2016 18:12:14 -0700 [thread overview]
Message-ID: <1458090737-14030-1-git-send-email-sbeller@google.com> (raw)
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 reply other threads:[~2016-03-16 1:12 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-16 1:12 Stefan Beller [this message]
2016-03-16 1:12 ` [PATCH 1/3] clone: add `--shallow-submodules` flag Stefan Beller
2016-04-25 11:50 ` Lars Schneider
2016-04-25 17:26 ` Stefan Beller
2016-03-16 1:12 ` [PATCH 2/3] submodule clone: pass along `local` option Stefan Beller
2016-03-16 1:12 ` [PATCH 3/3] clone: Add t5614 to test cloning submodules with shallowness involved Stefan Beller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1458090737-14030-1-git-send-email-sbeller@google.com \
--to=sbeller@google.com \
--cc=Jens.Lehmann@web.de \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=jrnieder@gmail.com \
--cc=larsxschneider@gmail.com \
--cc=pclouds@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).