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

Re: git fetch without --recurse-submodules option

From
Jens Lehmann <jens.lehmann@web.de>
Date
Jan 16, 2013, 18:24 UTC
Message-ID
<50F6F076.8030305@web.de>
In-Reply-To
<CAHtLG6RE-xGYsp-Apcu3hk8OVck+HLYZdBtWvcweaBNetwtKNA@mail.gmail.com>
Am 16.01.2013 06:45, schrieb 乙酸鋰:
> With git pull or git fetch without specifying --recurse-submodules,
> what is the default action?
on-demand fetch (unless something else is configured).
> It seems git fetches submodules wtihout specifying --recurse-submodules.
> If this is not clear, please update documentation.

You are right, the documentation for pull and fetch does not state explicitly that "on-demand" is the default here when the option is not used.

Show 5 quoted lines
> In git pull document --recurse-submodules option, it tells users to
> see git-config(1) and gitmodules(5), but does not tell users to refer
> to git fetch --recurse-submodules for the meaning of the switches.
> In git fetch document --recurse-submodules option, it does not tell
> users to see git-config(1) or gitmodules(5).

Thanks for pointing that out. Unless anyone else wants to improve the documentation I'll look into that in my next git time slot.

Previous: 乙酸鋰
Message 2 of 2 in “git fetch without --recurse-submodules option”
  1. 乙酸鋰Jan 16, 2013
  2. Jens LehmannJan 16, 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.