summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Chris Packham <judge.packham@gmail.com>2011-02-11 11:59:31 +1300
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-02-11 14:24:34 -0800
commit3446a54c9afe3f78ca27fc51f618884ba49493de (patch)
tree40557807b654f06d408658e14f362439bd035b5b
parentsvn-fe: warn about experimental status (diff)
downloadtgif-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>
-rw-r--r--builtin/clone.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/clone.c b/builtin/clone.c
index 61e0989b5a..82a6938620 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"),