Re: Submodules
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Aug 8, 2007, 00:07 UTC
- Message-ID
- <Pine.LNX.4.64.0708080104170.14781@racer.site>
- In-Reply-To
- <a1bbc6950708071631w5d232e92gd0fa27158b27b5c3@mail.gmail.com>
Hi,
On Tue, 7 Aug 2007, Dmitry Kakurin wrote:
> * how come sumbodules are not initialized when I do a clone of super. > I expect to be able to build super after I clone it. Is there a new > (undocumented) flag to clone?
There might be. But one of the reasons submodules are not just tree objects is that you should be able _not_ to check out all of them (think KDE).
> * why submodules should be listed in 2 places: in .submodules and in > super/.git/config?
Well, URLs can change. Therefore, .submodules has what is considered the current URL, but you can change it yourself in .git/config. (At least that is how I understood it.)
Ciao, Dscho