Re: [PATCH] Let .git/config specify the url for submodules
- From
- Sven Verdoolaege <skimo@kotnet.org>
- Date
- Jun 2, 2007, 07:49 UTC
- Message-ID
- <20070602074910.GB955MdfPADPa@greensroom.kotnet.org>
- In-Reply-To
- <alpine.LFD.0.98.0706010919360.3957@woody.linux-foundation.org>
On Fri, Jun 01, 2007 at 09:29:58AM -0700, Linus Torvalds wrote:
Show 17 quoted lines
> [module "infrastructure"] > submodule = lib > submodule = build > > [submodule "lib"] > url = git://xyzzy/lib-1.2.3 > > [submodule "build"] > url = git://xyzzy/build-0.61 > > > IOW, in the above case, we have *three* modules: > > - module "infrastructure", that is the union of submodules/paths "lib" > and "build" > - module "lib" (== submodule/path "lib") > - module "build" (== submodule/path "build")
If there are three modules, then why is one in the "module" section and the other two in the "submodule" section? Why not allow a module to both contain smaller modules and be contained in a bigger module?
skimo