From: Chris Packham Date: Thu, 10 Feb 2011 22:59:31 +0000 (+1300) Subject: clone: fixup recurse_submodules option X-Git-Tag: v1.7.4.1~2 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=3446a54c9afe3f78ca27fc51f618884ba49493de;p=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 Signed-off-by: Junio C Hamano --- 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"),