Skip to content

Teach fetch/pull the on-demand mode and make it the default

Jens Lehmann git 3 versions New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest7 patches 0 repliesNew
  2. v26 of 7 patches 7 repliesSuperseded
  3. v16 patches 16 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7fetch/pull: recurse into submodules when necessaryDocumentation/fetch-options.txt builtin/fetch.c submodule.c +3 more+243 -170 replies
2/7fetch/pull: Add the 'on-demand' value to the --recurse-submodules optionDocumentation/fetch-options.txt Documentation/git-pull.txt builtin/fetch.c +4 more+114 -100 replies
3/7config: teach the fetch.recurseSubmodules option the 'on-demand' valueDocumentation/config.txt submodule.c t/t5526-fetch-submodules.sh+36 -40 replies
4/7Submodules: Add 'on-demand' value for the 'fetchRecurseSubmodule' optionDocumentation/config.txt Documentation/gitmodules.txt submodule.c +1 more+38 -50 replies
5/7fetch/pull: Don't recurse into a submodule when commits are already presentDocumentation/fetch-options.txt submodule.c t/t5526-fetch-submodules.sh+49 -20 replies
6/7submodule update: Don't fetch when the submodule commit is already presentgit-submodule.sh t/t7406-submodule-update.sh+24 -10 replies
7/7fetch/pull: Describe --recurse-submodule restrictions in the BUGS sectionDocumentation/git-fetch.txt Documentation/git-pull.txt+18 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/7] Teach fetch/pull the on-demand mode and make it the default

Here is v3 of this patch series. Changes to v2 are:

*) Changed some documentation texts as proposed by Marc
*) Renamed the "--submodule-default" option to "--recurse-submodules-default" *) Fixed some typos in the BUGS section

Jens Lehmann (7):
fetch/pull: recurse into submodules when necessary fetch/pull: Add the 'on-demand' value to the --recurse-submodules
option
config: teach the fetch.recurseSubmodules option the 'on-demand'
value
Submodules: Add 'on-demand' value for the 'fetchRecurseSubmodule'
option
fetch/pull: Don't recurse into a submodule when commits are already
present
submodule update: Don't fetch when the submodule commit is already
present
fetch/pull: Describe --recurse-submodule restrictions in the BUGS
section

 Documentation/config.txt        |   12 ++-
 Documentation/fetch-options.txt |   25 ++++-
 Documentation/git-fetch.txt     |    9 ++
 Documentation/git-pull.txt      |   11 ++-
 Documentation/gitmodules.txt    |    4 +-
 builtin/fetch.c                 |   48 ++++++--
 git-pull.sh                     |    3 +
 git-submodule.sh                |    5 +-
 submodule.c                     |  152 +++++++++++++++++++++--
 submodule.h                     |   11 ++-
 t/t5526-fetch-submodules.sh     |  255 +++++++++++++++++++++++++++++++++++++++
 t/t7403-submodule-sync.sh       |    2 +-
 t/t7406-submodule-update.sh     |   20 +++
 13 files changed, 520 insertions(+), 37 deletions(-)
Signature · 1 line
1.7.4.1.300.g29eea0