From: Sven Verdoolaege Date: Sat, 02 Jun 2007 07:49:10 GMT Subject: Re: [PATCH] Let .git/config specify the url for submodules Message-ID: <20070602074910.GB955MdfPADPa@greensroom.kotnet.org> In-Reply-To: On Fri, Jun 01, 2007 at 09:29:58AM -0700, Linus Torvalds wrote: > [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