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

git-submodule nested subrepo bug (Segmentation fault)

From
Kirill Berezin <enelar@develop-project.ru>
Date
May 20, 2013, 05:32 UTC
Message-ID
<CAAObgf9RNyVOYD00ki347KBqMWoFA3U7-YM3DnLK4yu62SozSQ@mail.gmail.com>

When you trying to add submodule, that already has submodule, it craches. For example you could try: git clone --recursive http://github.com/Exsul/al_server

Its happens because git dont create `modules` directory. al_server/.git/modules

Workaround for it wont work to: git submodule update --init It init only first level of subrepos. When you do: cd chat git submodule update --init It crashes cause missed `modules` directory for submodule: al_server/.git/modules/chat/modules

Final workaround is create this directory and try last command again.
Next: John Keeping
Message 1 of 3 in “git-submodule nested subrepo bug (Segmentation fault)”
  1. Kirill BerezinMay 20, 2013
  2. John KeepingMay 20, 2013
  3. Kirill BerezinMay 22, 2013

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.