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

[PATCH 7/9] update 'git-show' bash completion to match the man page

From
ETEmmanuel Trillaud <etrillaud@gmail.com>
Date
Aug 8, 2009, 08:56 UTC
Message-ID
<9f50533b0908080156j33db6f99u18de79537677451b@mail.gmail.com>
Signed-off-by: Emmanuel Trillaud <etrillaud@gmail.com>
---
 contrib/completion/git-completion.bash |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/contrib/completion/git-completion.bash
b/contrib/completion/git-completion.bash
index 4746eee..1e3efe3 100755
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -1870,7 +1870,7 @@ _git_show ()
 		return
 		;;
 	--*)
-		__gitcomp "--pretty= --format= --abbrev-commit --oneline
+		__gitcomp "--pretty= --format= --abbrev-commit --oneline --encoding
 			$__git_diff_common_options
 			"
 		return
-- 
1.6.4
Next: Junio C Hamano
Message 1 of 2 in “update 'git-show' bash completion to match the man page”
  1. 7/9 update 'git-show' bash completion to match the man pageEmmanuel 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.