git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: cloning submodules with children submodules

From
SVSven Verdoolaege <skimo@kotnet.org>
Date
Nov 23, 2007, 19:49 UTC
Message-ID
<20071123194904.GL2261MdfPADPa@greensroom.kotnet.org>
In-Reply-To
<BC1DE15A-9225-41D3-A2D7-21A14DF81048@nrlssc.navy.mil>
On Fri, Nov 23, 2007 at 01:17:15PM -0600, Paul Martinolich wrote:
> It appears that git clone or git submodule init does not handle  
> submodules under submodules.
I don't see why it wouldn't work.

You seem to think, however, that git submodule update would call git submodule update/init inside any submodules it clones. It doesn't.

> The cloning of proj_two works correctly.  However, for proj_one, mod_b  
> is not under mod_B:

You didn't commit the change to mod_B to proj_one. Furthermore, you didn't push your changes to mod_B to the repo you specified for mod_B in .gitmodules.

skimo
Previous: Paul MartinolichNext: Paul Martinolich
Message 2 of 3 in “cloning submodules with children submodules”
  1. Paul MartinolichNov 23, 2007
  2. Sven VerdoolaegeNov 23, 2007
  3. Paul MartinolichNov 23, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.