git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCHv1] completion: add option '--recurse-submodules' to 'git clone'

From
Chris Packham <judge.packham@gmail.com>
Date
Jul 27, 2016, 08:34 UTC
Message-ID
<20160727083406.10241-1-judge.packham@gmail.com>
Signed-off-by: Chris Packham <judge.packham@gmail.com>
---
Hi,

I noticed --recurse-submodules was missing from the bash completion. This adds it. I went for '--recurse-submodules' instead of '--recursive' as I seem to recall the former being agreed upon as the better (or least ambiguous) of the two terms.

 contrib/completion/git-completion.bash | 1 +
 1 file changed, 1 insertion(+)
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index 37888f4..7c06455 100644
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -1136,6 +1136,7 @@ _git_clone ()
 			--depth
 			--single-branch
 			--branch
+			--recurse-submodules
 			"
 		return
 		;;
-- 
2.9.2
Next: Junio C Hamano
Message 1 of 6 in “[PATCHv1] completion: add option '--recurse-submodules' to 'git clone'”
  1. Chris PackhamJul 27, 2016
  2. Junio C HamanoJul 27, 2016
  3. Junio C HamanoJul 27, 2016
  4. Stefan BellerJul 27, 2016
  5. Junio C HamanoJul 28, 2016
  6. Stefan BellerJul 29, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.