Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-11-30 04:52:34 +0300
committerJunio C Hamano <gitster@pobox.com>2010-11-30 04:52:34 +0300
commit106e3afa6f2d54ea520f9f156abca34913ae4968 (patch)
tree48b6736355bec098113081c84ccdbe7720efd716 /builtin
parent5eee142c89ee4964c9ea4ae1b2fa8344036a7efb (diff)
parentccdd3da6527ca7d8d731e691b9ff0f9b8657298e (diff)
Merge branch 'jl/clone-recurse-sm-synonym'
* jl/clone-recurse-sm-synonym: clone: Add the --recurse-submodules option as alias for --recursive
Diffstat (limited to 'builtin')
-rw-r--r--builtin/clone.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/builtin/clone.c b/builtin/clone.c
index 19ed64041d..61e0989b5a 100644
--- a/builtin/clone.c
+++ b/builtin/clone.c
@@ -66,6 +66,8 @@ 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,
+ "initialize submodules in the clone"),
OPT_STRING(0, "template", &option_template, "path",
"path the template repository"),
OPT_STRING(0, "reference", &option_reference, "repo",