Re: [RFC] Fourth round of support for cloning submodules
- From
- Lars Hjemli <hjemli@gmail.com>
- Date
- May 24, 2007, 17:33 UTC
- Message-ID
- <8c5c35580705241033l73cb1295w4f1a33e74b745857@mail.gmail.com>
- In-Reply-To
- <7vabvuywix.fsf@assigned-by-dhcp.cox.net>
On 5/24/07, Junio C Hamano <junkio@cox.net> wrote:
Show 7 quoted lines
> "Lars Hjemli" <hjemli@gmail.com> writes: > > > I think the whole point of the 'remote config' stuff is to get an > > unversioned/out-of-tree .gitmodules file, right? > > Why does this have to be out-of-tree and unversioned to begin > with?
Probably to cater for subprojects moving away from the url mentioned in the versioned .gitmodules file.
> When you are bootstrapping, you will start by a fetch/clone of > the superproject. Why can't that tree contain necessary > information that is relevant to the superproject in question?
It sure can, and it would be the most natural solution. I just wanted to mention an alternative to the 'git config --remote' solution.
-- larsh