git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: "Imran M Yousuf" <imyousuf@gmail.com>
To: "Ping Yin" <pkufranky@gmail.com>
Cc: "Git Mailing List" <git@vger.kernel.org>
Subject: Re: [PATCH/RFC v2] git-submodule: multi-level module definition
Date: Wed, 5 Mar 2008 13:40:41 +0600	[thread overview]
Message-ID: <7bfdc29a0803042340k2ea6fc1cq435205f1da71bbb0@mail.gmail.com> (raw)
In-Reply-To: <46dff0320803042316m1921f657wacf63a63491bbda0@mail.gmail.com>

On Wed, Mar 5, 2008 at 1:16 PM, Ping Yin <pkufranky@gmail.com> wrote:
>
> On Wed, Mar 5, 2008 at 11:17 AM, Imran M Yousuf <imyousuf@gmail.com> wrote:
>   > On Tue, Mar 4, 2008 at 10:04 PM, Ping Yin <pkufranky@gmail.com> 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@vger.kernel.org
>  More majordomo info at  http://vger.kernel.org/majordomo-info.html
>



-- 
Imran M Yousuf
Entrepreneur & Software Engineer
Smart IT Engineering
Dhaka, Bangladesh
Email: imran@smartitengineering.com
Mobile: +880-1711402557

  reply	other threads:[~2008-03-05  7:41 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-04 16:04 [PATCH/RFC v2] git-submodule: multi-level module definition Ping Yin
2008-03-04 16:12 ` Johannes Schindelin
2008-03-05  2:13   ` Ping Yin
     [not found] ` <7bfdc29a0803041917j16112e80uc0b21707bdfd3fe@mail.gmail.com>
     [not found]   ` <46dff0320803042315t2d89eb6fl325b4b2ef8ddbc44@mail.gmail.com>
2008-03-05  7:16     ` Ping Yin
2008-03-05  7:40       ` Imran M Yousuf [this message]
2008-03-05  7:53         ` Ping Yin
2008-03-05  8:03           ` Imran M Yousuf
2008-03-05 23:18 ` Junio C Hamano
2008-03-06  1:54   ` Ping Yin
2008-03-06  2:16     ` Imran M Yousuf
2008-03-06  2:32     ` Johannes Schindelin
2008-03-06  5:18       ` Ping Yin
2008-03-06  3:48     ` Junio C Hamano
2008-03-06  5:48       ` Ping Yin
2008-03-07  1:43         ` Ping Yin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7bfdc29a0803042340k2ea6fc1cq435205f1da71bbb0@mail.gmail.com \
    --to=imyousuf@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=pkufranky@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).