diff options
author | Junio C Hamano <gitster@pobox.com> | 2019-12-09 22:17:55 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-12-09 22:17:55 -0800 |
commit | 7034cd094bda4edbcdff7fad1a28fcaaf9b9a040 (patch) | |
tree | e0b837c5e5a2ea2fce3255ef59fd981e2bd30374 /builtin/clone.c | |
parent | The fourth batch (diff) | |
parent | Git 2.24.1 (diff) | |
download | tgif-7034cd094bda4edbcdff7fad1a28fcaaf9b9a040.tar.xz |
Sync with Git 2.24.1
Diffstat (limited to 'builtin/clone.c')
-rw-r--r-- | builtin/clone.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/clone.c b/builtin/clone.c index 40c0bf25be..6dee265cc9 100644 --- a/builtin/clone.c +++ b/builtin/clone.c @@ -789,7 +789,7 @@ static int checkout(int submodule_progress) if (!err && (option_recurse_submodules.nr > 0)) { struct argv_array args = ARGV_ARRAY_INIT; - argv_array_pushl(&args, "submodule", "update", "--init", "--recursive", NULL); + argv_array_pushl(&args, "submodule", "update", "--require-init", "--recursive", NULL); if (option_shallow_submodules == 1) argv_array_push(&args, "--depth=1"); |