git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* git fetch without --recurse-submodules option
@ 2013-01-16  5:45 乙酸鋰
  2013-01-16 18:24 ` Jens Lehmann
  0 siblings, 1 reply; 2+ messages in thread
From: 乙酸鋰 @ 2013-01-16  5:45 UTC (permalink / raw)
  To: git

Hi,
With git pull or git fetch without specifying --recurse-submodules,
what is the default action?
It seems git fetches submodules wtihout specifying --recurse-submodules.
If this is not clear, please update documentation.

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).

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: git fetch without --recurse-submodules option
  2013-01-16  5:45 git fetch without --recurse-submodules option 乙酸鋰
@ 2013-01-16 18:24 ` Jens Lehmann
  0 siblings, 0 replies; 2+ messages in thread
From: Jens Lehmann @ 2013-01-16 18:24 UTC (permalink / raw)
  To: 乙酸鋰; +Cc: git

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.

> 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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-01-16 18:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-16  5:45 git fetch without --recurse-submodules option 乙酸鋰
2013-01-16 18:24 ` Jens Lehmann

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).