completion: add option '--recurse-submodules' to 'git clone'
authorChris Packham <judge.packham@gmail.com>
Wed, 27 Jul 2016 08:34:06 +0000 (20:34 +1200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 27 Jul 2016 17:22:47 +0000 (10:22 -0700)
Signed-off-by: Chris Packham <judge.packham@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-completion.bash
index b383ed05c3483d3ac42f404a62505f0fa9e7c2a2..03ace767b4ea3393154ac6ef1c234b771cb7e428 100644 (file)
@@ -1091,6 +1091,7 @@ _git_clone ()
                        --depth
                        --single-branch
                        --branch
+                       --recurse-submodules
                        "
                return
                ;;