From: Stephen Boyd Date: Sun, 17 May 2009 03:42:43 +0000 (-0700) Subject: completion: add missing options to show-branch and show X-Git-Tag: v1.6.3.2~31 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=076c32370d8a6ac2fb57b2a55c674942e106f8ab;p=git.git completion: add missing options to show-branch and show Add --oneline and --abbrev-commit to show and --sparse to show-branch. Signed-off-by: Stephen Boyd Signed-off-by: Junio C Hamano --- diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash index dd6cd250e..a0c579482 100755 --- a/contrib/completion/git-completion.bash +++ b/contrib/completion/git-completion.bash @@ -1804,7 +1804,7 @@ _git_show () return ;; --*) - __gitcomp "--pretty= --format= + __gitcomp "--pretty= --format= --abbrev-commit --oneline $__git_diff_common_options " return @@ -1821,7 +1821,7 @@ _git_show_branch () __gitcomp " --all --remotes --topo-order --current --more= --list --independent --merge-base --no-name - --sha1-name --topics --reflog + --sha1-name --sparse --topics --reflog " return ;;