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

[PATCH 3/3] completion: clone can recurse into submodules

From
Stefan Beller <sbeller@google.com>
Date
Jun 10, 2016, 23:07 UTC
Message-ID
<20160610230753.11641-4-sbeller@google.com>
In-Reply-To
<20160610230753.11641-1-sbeller@google.com>
Signed-off-by: Stefan Beller <sbeller@google.com>
---
 contrib/completion/git-completion.bash | 2 ++
 1 file changed, 2 insertions(+)
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index e3918c8..3d4d24a 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
 		;;
-- 
2.8.2.141.g4e46f88
Previous: Stefan BellerNext: Stefan Beller
Message 2 of 4 in “[PATCHv4 0/3] Persistent submodule pathspec specification”
  1. Stefan BellerJun 10, 2016
  2. 3/3 completion: clone can recurse into submodulesStefan Beller, Jun 10, 2016
  3. 1/3 submodule update: add `--init-default-path` switchStefan Beller, Jun 10, 2016
  4. 2/3 clone: add --init-submodule=<pathspec> switchStefan Beller, Jun 10, 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.