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.tokkee.org/?a=commitdiff_plain;h=ce5a2c956f10f84d8403fc4e94106a6b33a5024a;p=git.git 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 --- 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)" ;;