From: Ralf Thielow Date: Thu, 4 Dec 2014 18:07:35 +0000 (+0100) Subject: completion: add git-tag options X-Git-Tag: v2.3.0-rc0~56^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=85ed2f32064b82e541fc7dcf2b0049a0556e4960;p=thirdparty%2Fgit.git completion: add git-tag options Add completion for git-tag options including all options that are currently shown in "git tag -h". Signed-off-by: Ralf Thielow Signed-off-by: Junio C Hamano --- diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash index 06bf262087..46c82de62d 100644 --- a/contrib/completion/git-completion.bash +++ b/contrib/completion/git-completion.bash @@ -2549,6 +2549,16 @@ _git_tag () __gitcomp_nl "$(__git_refs)" ;; esac + + case "$cur" in + --*) + __gitcomp " + --list --delete --verify --annotate --message --file + --sign --cleanup --local-user --force --column --sort + --contains --points-at + " + ;; + esac } _git_whatchanged ()