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

submodule: --recurse-submodules vs. submodule.recurse=true

From
MHMagnus Homann <magnus@homann.se>
Date
Sep 1, 2017, 05:39 UTC
Message-ID
<eba8e727-25ef-b34b-cd2b-e92602709c9b@homann.se>
I'm using git 2.14.1 on cygwin.

Using --recurse-submodules, I can do 'git pull' and the submodules both get fetched and merged automatically. I was under the impression that setting submodule.recurse to true would have the same affect, without needing to write --recurse-submodules every time. But the docs seems a bit vague, and I don't understand the git code.

Is there a way to config git pull to automatcially do a "--recurse-submodules" ?

Thanks, Magnus

Next: Nicolas Morey-Chaisemartin
Message 1 of 5 in “submodule: --recurse-submodules vs. submodule.recurse=true”
  1. Magnus HomannSep 1, 2017
  2. pull: honor submodule.recurse config optionNicolas Morey-Chaisemartin, Sep 1, 2017
  3. Stefan BellerSep 1, 2017
  4. René ScharfeSep 1, 2017
  5. Jonathan NiederSep 1, 2017

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.