summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Beller <sbeller@google.com>2016-06-10 16:07:53 -0700
committerJunio C Hamano <gitster@pobox.com>2016-06-20 14:11:13 -0700
commit2e470ec5171435a882a4f016583937c8ae837c54 (patch)
treedbe4be4b987500225d005f4407df1285539b8c28
parent77edffa9f27525fd86958d3271ec75f1966dfadb (diff)
downloadgit-sb/submodule-default-paths.tar.gz
completion: clone can recurse into submodulessb/submodule-default-paths
Signed-off-by: Stefan Beller <sbeller@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--contrib/completion/git-completion.bash2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index 34024754d9..11b7520626 100644
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -1092,6 +1092,8 @@ _git_clone ()
--depth
--single-branch
--branch
+ --recursive
+ --init-submodule
"
return
;;