summaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-11-30 01:52:34 (GMT)
committerJunio C Hamano <gitster@pobox.com>2010-11-30 01:52:34 (GMT)
commit106e3afa6f2d54ea520f9f156abca34913ae4968 (patch)
tree48b6736355bec098113081c84ccdbe7720efd716 /builtin
parent5eee142c89ee4964c9ea4ae1b2fa8344036a7efb (diff)
parentccdd3da6527ca7d8d731e691b9ff0f9b8657298e (diff)
downloadgit-106e3afa6f2d54ea520f9f156abca34913ae4968.zip
git-106e3afa6f2d54ea520f9f156abca34913ae4968.tar.gz
git-106e3afa6f2d54ea520f9f156abca34913ae4968.tar.bz2
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 19ed640..61e0989 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",