Skip to content

Commit 3446a54

Browse files
cpackhamgitster
authored andcommitted
clone: fixup recurse_submodules option
The recurse_submodules option was added in ccdd3da 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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 7532345 commit 3446a54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builtin/clone.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ static struct option builtin_clone_options[] = {
6666
"setup as shared repository"),
6767
OPT_BOOLEAN(0, "recursive", &option_recursive,
6868
"initialize submodules in the clone"),
69-
OPT_BOOLEAN(0, "recurse_submodules", &option_recursive,
69+
OPT_BOOLEAN(0, "recurse-submodules", &option_recursive,
7070
"initialize submodules in the clone"),
7171
OPT_STRING(0, "template", &option_template, "path",
7272
"path the template repository"),

0 commit comments

Comments
 (0)