All of lore.kernel.org
 help / color / mirror / Atom feed
* Nesting a submodule inside of another...
@ 2011-07-12 12:01 John Szakmeister
  2011-07-12 19:23 ` Jens Lehmann
  2011-07-13  8:43 ` Andreas Ericsson
  0 siblings, 2 replies; 11+ messages in thread
From: John Szakmeister @ 2011-07-12 12:01 UTC (permalink / raw)
  To: Git mailing list

Hi all,

I've got a project where we have several frameworks involved, and
external modules we want to pull into the framework tree.  We'd like
to make use of submodules and have something like this:
    top-level/            <-- .gitmodules lives here
        src/
        framework1/   <-- a submodule
            module/     <-- another submodule
        framework2/   <-- a submodule
            module2/    <-- another submodule

Currently, git fails trying to do this.  It's not happy about
.gitmodules living at the top-level and nesting a submodule inside of
another[1].  Is there a technical reason that this is not allowed?
Limiting the traversal up the tree, etc.?  I've worked around the lack
of support to do this for now, but it would be really nice if we could
do such a thing.

Thanks!

-John

[1]  I may generate a patch for the error message, as the current
implementation obscures the real error message.  When I try this, git
says:
    The following path is ignored by one of your .gitignore files:
    framework1/module
    Use -f if you really want to add it.

    After some careful debugging, I found out the real error message
was about this sort of nesting being disallowed.

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2011-07-15  8:34 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-12 12:01 Nesting a submodule inside of another John Szakmeister
2011-07-12 19:23 ` Jens Lehmann
2011-07-13  1:21   ` John Szakmeister
2011-07-13 21:20     ` Jens Lehmann
2011-07-13 21:27       ` Junio C Hamano
2011-07-13 22:04         ` Jens Lehmann
2011-07-13 22:44           ` Junio C Hamano
2011-07-14  9:36       ` John Szakmeister
2011-07-14 14:33         ` Seth Robertson
2011-07-15  8:34           ` John Szakmeister
2011-07-13  8:43 ` Andreas Ericsson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.