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

Feature Request: Submodule Warning When Cloning Repos

From
GKGeoffrey Knopf <gknopf@spideroak-inc.com>
Date
Sep 16, 2021, 16:59 UTC
Message-ID
<SA1PR17MB46101CC190E4CDDD00F2AD2C9BDC9@SA1PR17MB4610.namprd17.prod.outlook.com>

Problem: Easy to forget to clone submodules.

Existing Solutions: Always clone repos that have submodules with the "--recurse-submodules" option. Manually look inside the git ".submodules" file to see if there are any submodules and initialize and update them.

Request: When performing a clone, warn the user if there are any submodules that have not been cloned. Recommend that the user try the "--recurse-submodules" option next time or initialize and update the submodules.

Next: Bagas Sanjaya
Message 1 of 3 in “Feature Request: Submodule Warning When Cloning Repos”
  1. Geoffrey KnopfSep 16, 2021
  2. Bagas SanjayaSep 17, 2021
  3. Geoffrey KnopfSep 17, 2021

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.