@matheusbsbs / matheus-bagliano / commits / 3446a54c9a
Fork 0

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>

Chris Packham committed Feb 11, 2011 at 11:59 UTC 3446a54c9afe3f78ca27fc51f618884ba49493de
1 file changed +1 -1
builtin/clone.c
+1 -1
@@ -66,7 +66,7 @@ static struct option builtin_clone_options[] = {
66 "setup as shared repository"),
67 OPT_BOOLEAN(0, "recursive", &option_recursive,
68 "initialize submodules in the clone"),
69 - OPT_BOOLEAN(0, "recurse_submodules", &option_recursive,
69 + OPT_BOOLEAN(0, "recurse-submodules", &option_recursive,
70 "initialize submodules in the clone"),
71 OPT_STRING(0, "template", &option_template, "path",
72 "path the template repository"),