diff options
author | Chris Packham <judge.packham@gmail.com> | 2011-02-11 11:59:31 +1300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-02-11 14:24:34 -0800 |
commit | 3446a54c9afe3f78ca27fc51f618884ba49493de (patch) | |
tree | 40557807b654f06d408658e14f362439bd035b5b /builtin | |
parent | 75323459b8a773613374188ad4439a7b45cd9e34 (diff) | |
download | git-3446a54c9afe3f78ca27fc51f618884ba49493de.tar.gz git-3446a54c9afe3f78ca27fc51f618884ba49493de.tar.xz |
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>
Diffstat (limited to 'builtin')
-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 61e0989b5..82a693862 100644 --- a/builtin/clone.c +++ b/builtin/clone.c @@ -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"), |