Re: [PATCH/RFC v2] git-submodule: multi-level module definition

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 5, 2008 at 1:16 PM, Ping Yin <pkufranky@xxxxxxxxx> wrote:
>
> On Wed, Mar 5, 2008 at 11:17 AM, Imran M Yousuf <imyousuf@xxxxxxxxx> wrote:
>   > On Tue, Mar 4, 2008 at 10:04 PM, Ping Yin <pkufranky@xxxxxxxxx> 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.
>
If I am not mistaken I can do it now as well, by "git submodule add
repo path". What would be the difference with this and your approach?
>
>   >
>   >  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}
>
I got that part as thats how git-submodules currently work; Actually
what I wanted to know is as util is referenced to several logical
submodules, will they be initialized as well? that means wherever util
is referenced it will be initialized; is that what it means?
>   >
>   >  --
>
>   >
>
>
>  --
>  Ping Yin
>
>
> --
>  To unsubscribe from this list: send the line "unsubscribe git" in
>  the body of a message to majordomo@xxxxxxxxxxxxxxx
>  More majordomo info at  http://vger.kernel.org/majordomo-info.html
>



-- 
Imran M Yousuf
Entrepreneur & Software Engineer
Smart IT Engineering
Dhaka, Bangladesh
Email: imran@xxxxxxxxxxxxxxxxxxxxxx
Mobile: +880-1711402557
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux