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

Autoupdate / autoinit submodules?

From
JMJeremy Morton <admin@game-point.net>
Date
Oct 3, 2016, 09:50 UTC
Message-ID
<57F229D5.6060005@game-point.net>

Apologies if this has already been discussed, but did any of the proposed patches to allow .gitmodules to be configured for a submodule to be automatically recursive cloned and/or automatically updated on pull make it in yet?

My use-case for submodules - which is shared libraries - almost always requires a recursive clone, so having to remember the --recursive param (or to use an alias) is annoying (and I usually forget), and it usually requires pulling the latest master on a "git pull", too. I think both of these things should be able to be automated through git module configuration.

-- 
Best regards,
Jeremy Morton (Jez)
Message 1 of 1 in “Autoupdate / autoinit submodules?”
  1. Jeremy MortonOct 3, 2016

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.