зеркало из https://github.com/microsoft/git.git
clone: fixup recurse_submodules option
The recurse_submodules option was added in ccdd3da6
to bring 'git clone'
into line with 'git fetch' and future commands. The correct option should
have been "recurse-submodules".
Signed-off-by: Chris Packham <judge.packham@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Родитель
75323459b8
Коммит
3446a54c9a
|
@ -66,7 +66,7 @@ static struct option builtin_clone_options[] = {
|
||||||
"setup as shared repository"),
|
"setup as shared repository"),
|
||||||
OPT_BOOLEAN(0, "recursive", &option_recursive,
|
OPT_BOOLEAN(0, "recursive", &option_recursive,
|
||||||
"initialize submodules in the clone"),
|
"initialize submodules in the clone"),
|
||||||
OPT_BOOLEAN(0, "recurse_submodules", &option_recursive,
|
OPT_BOOLEAN(0, "recurse-submodules", &option_recursive,
|
||||||
"initialize submodules in the clone"),
|
"initialize submodules in the clone"),
|
||||||
OPT_STRING(0, "template", &option_template, "path",
|
OPT_STRING(0, "template", &option_template, "path",
|
||||||
"path the template repository"),
|
"path the template repository"),
|
||||||
|
|
Загрузка…
Ссылка в новой задаче