aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorTeemu Likonen <tlikonen@iki.fi>2008-03-06 18:52:37 +0200
committerShawn O. Pearce <spearce@spearce.org>2008-03-10 20:00:40 -0400
commitce5a2c956f10f84d8403fc4e94106a6b33a5024a (patch)
tree6d5ded2ebc8ea7131239d8a958f474411417574d /contrib
parent51fe120903370ca8bf384c839c8cfb70ee563eb0 (diff)
downloadgit-ce5a2c956f10f84d8403fc4e94106a6b33a5024a.tar.gz
git-ce5a2c956f10f84d8403fc4e94106a6b33a5024a.tar.xz
bash: Add more long options to be completed with "git --<TAB>"
Add the following long options to be completed with command "git": --paginate --work-tree= --help Signed-off-by: Teemu Likonen <tlikonen@iki.fi> Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/completion/git-completion.bash3
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index fc108e482..2d11d0a97 100755
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -1271,11 +1271,14 @@ _git ()
case "${COMP_WORDS[COMP_CWORD]}" in
--*=*) COMPREPLY=() ;;
--*) __gitcomp "
+ --paginate
--no-pager
--git-dir=
--bare
--version
--exec-path
+ --work-tree=
+ --help
"
;;
*) __gitcomp "$(__git_commands) $(__git_aliases)" ;;