Skip to content

pr-1006/24mahik/master-v1

When running 'git clone --recurse-submodules', developers expect various
other commands such as 'pull' and 'checkout' to also run recursively into
submodules.The submitted code updates the 'submodule.recurse' config value
to true when 'git clone' is run with the '--recurse-submodules' option.

Signed-off-by: Mahi Kolla mahikolla@google.com

Mahi Kolla (2):
  clone: update submodule.recurse in config when using
    --recurse-submodule
  clone: update submodule.recurse in config when using
    --recurse-submodule

 builtin/clone.c          | 1 +
 t/t5606-clone-options.sh | 7 +++++++
 2 files changed, 8 insertions(+)

base-commit: 940fe202adcbf9fa1825c648d97cbe1b90d26aec

Submitted-As: https://lore.kernel.org/git/pull.1006.git.1627925390.gitgitgadget@gmail.com
Assets 2