From: Sven Verdoolaege <skimo@kotnet.org>
To: Junio C Hamano <junkio@cox.net>
Cc: git@vger.kernel.org
Subject: Re: Initial support for cloning submodules
Date: Fri, 18 May 2007 21:33:08 +0200 [thread overview]
Message-ID: <20070518193308.GJ942MdfPADPa@greensroom.kotnet.org> (raw)
In-Reply-To: <7vfy6cqk0w.fsf@assigned-by-dhcp.cox.net>
On Fri, May 04, 2007 at 03:52:15PM -0700, Junio C Hamano wrote:
> (3) "git-fetch --submodules", after finishing what it would do
> without "--submodules" option, would inspect the fetched
> tree (or the index derived from it), find the tree entries
> with mode 160000 (i.e. submodule graft points), and _then_
> uses the pathnames of these tree entries to consult the
> config mechanism to see which URL(s) can be used to
> retrieve them, probably only for new submodules.
I've gone for cloning all available submodules on the remote,
even if they are not used in the HEAD.
A submodule may have been removed already and IMHO, you wouldn't
want to clone a submodule at the time you reset to an intermediate
commit.
skimo
next prev parent reply other threads:[~2007-05-18 19:33 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-04 10:56 Initial support for cloning submodules Sven Verdoolaege
2007-05-04 10:56 ` [PATCH 1/5] Add dump-config Sven Verdoolaege
2007-05-04 10:56 ` [PATCH 2/5] git-config: add --remote option for reading config from remote repo Sven Verdoolaege
2007-05-04 21:03 ` Frank Lichtenheld
2007-05-04 21:10 ` Sven Verdoolaege
2007-05-04 21:35 ` Frank Lichtenheld
2007-05-04 10:56 ` [PATCH 3/5] http.h: make fill_active_slots a function pointer Sven Verdoolaege
2007-05-04 10:56 ` [PATCH 4/5] git-config: read remote config files over HTTP Sven Verdoolaege
2007-05-04 10:56 ` [PATCH 5/5] git-clone: add --submodules for cloning submodules Sven Verdoolaege
2007-05-04 22:52 ` Initial support " Junio C Hamano
2007-05-05 8:14 ` Sven Verdoolaege
2007-05-05 8:46 ` Junio C Hamano
2007-05-06 4:13 ` Alon Ziv
2007-05-18 19:33 ` Sven Verdoolaege [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-05-04 10:49 Sven Verdoolaege
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=20070518193308.GJ942MdfPADPa@greensroom.kotnet.org \
--to=skimo@kotnet.org \
--cc=git@vger.kernel.org \
--cc=junkio@cox.net \
--cc=skimo@liacs.nl \
/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).