summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f740cc2)
raw | patch | inline | side by side (parent: f740cc2)
author | Junio C Hamano <gitster@pobox.com> | |
Fri, 30 Oct 2009 22:15:36 +0000 (15:15 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 30 Oct 2009 22:15:36 +0000 (15:15 -0700) |
Fix incorrect description of --recursive, and stop listing the historical
synonym --naked that is not advertised anywhere.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
synonym --naked that is not advertised anywhere.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-clone.c | patch | blob | history |
diff --git a/builtin-clone.c b/builtin-clone.c
index 5762a6f9d8191c79d4fd66d227038d59ab1e785e..0a4f6124f57eedd16e99d3f70c4385e760092047 100644 (file)
--- a/builtin-clone.c
+++ b/builtin-clone.c
OPT_BOOLEAN('n', "no-checkout", &option_no_checkout,
"don't create a checkout"),
OPT_BOOLEAN(0, "bare", &option_bare, "create a bare repository"),
- OPT_BOOLEAN(0, "naked", &option_bare, "create a bare repository"),
+ { OPTION_BOOLEAN, 0, "naked", &option_bare, NULL,
+ "create a bare repository",
+ PARSE_OPT_NOARG | PARSE_OPT_HIDDEN },
OPT_BOOLEAN(0, "mirror", &option_mirror,
"create a mirror repository (implies bare)"),
OPT_BOOLEAN('l', "local", &option_local,
OPT_BOOLEAN('s', "shared", &option_shared,
"setup as shared repository"),
OPT_BOOLEAN(0, "recursive", &option_recursive,
- "setup as shared repository"),
+ "initialize submodules in the clone"),
OPT_STRING(0, "template", &option_template, "path",
"path the template repository"),
OPT_STRING(0, "reference", &option_reference, "repo",