From: Teemu Likonen Date: Thu, 6 Mar 2008 16:52:37 +0000 (+0200) Subject: bash: Add more long options to be completed with "git --" X-Git-Tag: v1.5.5-rc0~31 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/ce5a2c956f10f84d8403fc4e94106a6b33a5024a?ds=inline;hp=--cc bash: Add more long options to be completed with "git --" Add the following long options to be completed with command "git": --paginate --work-tree= --help Signed-off-by: Teemu Likonen Signed-off-by: Shawn O. Pearce --- ce5a2c956f10f84d8403fc4e94106a6b33a5024a diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash index fc108e4828..2d11d0a97f 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)" ;;