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

[PATCH] completion: add options --single-branch and --branch to "git clone"

From
Ralf Thielow <ralf.thielow@gmail.com>
Date
Nov 28, 2012, 18:27 UTC
Message-ID
<1354127222-5569-1-git-send-email-ralf.thielow@gmail.com>
Signed-off-by: Ralf Thielow <ralf.thielow@gmail.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 48c3abd..cda095d 100644
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -989,6 +989,8 @@ _git_clone ()
 			--upload-pack
 			--template=
 			--depth
+			--single-branch
+			--branch
 			"
 		return
 		;;
-- 
1.8.0
Next: Junio C Hamano
Message 1 of 2 in “completion: add options --single-branch and --branch to "git clone"”
  1. completion: add options --single-branch and --branch to "git clone"Ralf Thielow, Nov 28, 2012
  2. Junio C HamanoNov 28, 2012

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.