threads / patch / 20478

patch, 9 partsupdate 'git-show' bash completion to match the man page

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

## tl;dr

2 messages between Aug 8, 2009 and Aug 8, 2009. Diffs are folded; open one to read it.

replies: 1people: 2as markdown or json

Emmanuel Trillaud· Aug 8, 2009, 08:56 UTC · lore
Signed-off-by: Emmanuel Trillaud <etrillaud@gmail.com>
---
 contrib/completion/git-completion.bash |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Show changes to contrib/completion/git-completion.bash +1 −1
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
Junio C Hamano· Aug 8, 2009, 19:49 UTC · re: Emmanuel Trillaud · lore

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

Emmanuel Trillaud <etrillaud@gmail.com> writes:
> Signed-off-by: Emmanuel Trillaud <etrillaud@gmail.com>
What did you add?
> -		__gitcomp "--pretty= --format= --abbrev-commit --oneline
> +		__gitcomp "--pretty= --format= --abbrev-commit --oneline --encoding
Is it not "--encoding="?  If not, why not?

← back to recent threads