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

[PATCH 5/9] add missing long options to 'git push bash completion'

From
ETEmmanuel Trillaud <etrillaud@gmail.com>
Date
Aug 8, 2009, 08:56 UTC
Message-ID
<9f50533b0908080156n3e990a69lc54e8ab4f0422d0a@mail.gmail.com>
according to git-push(1), the following long-options are missing to the bash
completion :
--porcelain
--thin
--no-thin
Signed-off-by: Emmanuel Trillaud <etrillaud@gmail.com>
---
 contrib/completion/git-completion.bash |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/contrib/completion/git-completion.bash
b/contrib/completion/git-completion.bash
index a4e78d5..98e1185 100755
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -1296,8 +1296,10 @@ _git_push ()
 		;;
 	--*)
 		__gitcomp "
-			--all --mirror --tags --dry-run --force --verbose
+			--all --mirror --dry-run --porcelain --tags --force --verbose
 			--receive-pack= --repo=
+			--thin
+			--no-thin
 		"
 		return
 		;;
-- 
1.6.4
Next: Junio C Hamano
Message 1 of 2 in “add missing long options to 'git push bash completion'”
  1. 5/9 add missing long options to 'git push bash completion'Emmanuel Trillaud, Aug 8, 2009
  2. Junio C HamanoAug 8, 2009

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.