From: Ping Yin Date: Wed, 05 Mar 2008 07:16:23 GMT Subject: Re: [PATCH/RFC v2] git-submodule: multi-level module definition Message-ID: <46dff0320803042316m1921f657wacf63a63491bbda0@mail.gmail.com> In-Reply-To: <46dff0320803042315t2d89eb6fl325b4b2ef8ddbc44@mail.gmail.com> On Wed, Mar 5, 2008 at 11:17 AM, Imran M Yousuf wrote: > On Tue, Mar 4, 2008 at 10:04 PM, Ping Yin wrote: > > .gitmodules with with multiple level of indirection > > ------------------------------------------------------ > > [submodule "service"] > > submodule = crawler > > submodule = search > > [submodule "crawler"] > > submodule = util > > submodule = imcrawter > > [submodule "search"] > > submodule = util > > submodule = imsearch > > At this point I have few questions - Will Service have its own tree > besides its submodules? Now, service itself is not a submodule, and service is just a logical name for a group of moduels. > > For your above example of .gitmodules hierarchy if I issue "git > submodule init -m util", can you please explain what will be the > outcome, i.e. which modules will be initialized. > Only the util module will be initialized using the path and url in submodule.util.{path,url} > > -- > Imran M Yousuf > Entrepreneur & Software Engineer > Smart IT Engineering > Dhaka, Bangladesh > Email: imran@smartitengineering.com > Mobile: +880-1711402557 > -- Ping Yin