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

Re: Submodules

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Aug 8, 2007, 00:07 UTC
Message-ID
<Pine.LNX.4.64.0708080104170.14781@racer.site>
In-Reply-To
<a1bbc6950708071631w5d232e92gd0fa27158b27b5c3@mail.gmail.com>
Hi,
On Tue, 7 Aug 2007, Dmitry Kakurin wrote:
> * how come sumbodules are not initialized when I do a clone of super.
> I expect to be able to build super after I clone it. Is there a new
> (undocumented) flag to clone?

There might be. But one of the reasons submodules are not just tree objects is that you should be able _not_ to check out all of them (think KDE).

> * why submodules should be listed in 2 places: in .submodules and in
> super/.git/config?

Well, URLs can change. Therefore, .submodules has what is considered the current URL, but you can change it yourself in .git/config. (At least that is how I understood it.)

Ciao, Dscho

Previous: Dmitry KakurinNext: Sven Verdoolaege
Message 7 of 19 in “Submodules”
  1. Dmitry KakurinAug 7, 2007
  2. Johannes SchindelinAug 7, 2007
  3. Dmitry KakurinAug 7, 2007
  4. Sven VerdoolaegeAug 8, 2007
  5. Johannes SchindelinAug 7, 2007
  6. Dmitry KakurinAug 7, 2007
  7. Johannes SchindelinAug 8, 2007
  8. Sven VerdoolaegeAug 8, 2007
  9. Junio C HamanoAug 8, 2007
  10. Johannes SchindelinAug 8, 2007
  11. Junio C HamanoAug 8, 2007
  12. Sven VerdoolaegeAug 8, 2007
  13. Junio C HamanoAug 8, 2007
  14. Johannes SchindelinAug 8, 2007
  15. Junio C HamanoAug 8, 2007
  16. Andy ParkinsAug 8, 2007
  17. Johannes SchindelinAug 8, 2007
  18. Sven VerdoolaegeAug 9, 2007
  19. Sven VerdoolaegeAug 8, 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.