summaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2010-11-29 17:52:34 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-11-29 17:52:34 -0800
commit106e3afa6f2d54ea520f9f156abca34913ae4968 (patch)
tree48b6736355bec098113081c84ccdbe7720efd716 /builtin
parentMerge branch 'jn/cherry-pick-refresh-index' (diff)
parentclone: Add the --recurse-submodules option as alias for --recursive (diff)
downloadtgif-106e3afa6f2d54ea520f9f156abca34913ae4968.tar.xz
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",