From 85ed2f32064b82e541fc7dcf2b0049a0556e4960 Mon Sep 17 00:00:00 2001 From: Ralf Thielow Date: Thu, 4 Dec 2014 19:07:35 +0100 Subject: 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 --- contrib/completion/git-completion.bash | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'contrib') 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 () -- cgit v1.2.3