Skip to content

Commit

Permalink
clone: fixup recurse_submodules option
Browse files Browse the repository at this point in the history
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 <judge.packham@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Chris Packham authored and Junio C Hamano committed Feb 11, 2011
1 parent 7532345 commit 3446a54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builtin/clone.c
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ static struct option builtin_clone_options[] = {
"setup as shared repository"),
OPT_BOOLEAN(0, "recursive", &option_recursive,
"initialize submodules in the clone"),
OPT_BOOLEAN(0, "recurse_submodules", &option_recursive,
OPT_BOOLEAN(0, "recurse-submodules", &option_recursive,
"initialize submodules in the clone"),
OPT_STRING(0, "template", &option_template, "path",
"path the template repository"),
Expand Down

0 comments on commit 3446a54

Please sign in to comment.