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

Re: Feature Request: Submodule Warning When Cloning Repos

From
Bagas Sanjaya <bagasdotme@gmail.com>
Date
Sep 17, 2021, 05:23 UTC
Message-ID
<3ff1426a-73a4-731e-3b6f-269d9a900019@gmail.com>
In-Reply-To
<SA1PR17MB46101CC190E4CDDD00F2AD2C9BDC9@SA1PR17MB4610.namprd17.prod.outlook.com>
On 16/09/21 23.59, Geoffrey Knopf wrote:
Show 11 quoted lines
> 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.
> 
I don't think warning should be granted in this case. Maybe better as note?
 From what you wrote above, did you mean print the message when cloning 
any repo with submodules?
-- 
An old man doll... just what I always wanted! - Clara
Previous: Geoffrey KnopfNext: Geoffrey Knopf
Message 2 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.