diff options
author | Ralf Thielow <ralf.thielow@gmail.com> | 2014-12-04 19:07:35 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-12-04 12:10:26 -0800 |
commit | 85ed2f32064b82e541fc7dcf2b0049a0556e4960 (patch) | |
tree | f5c0b1d0f2373f0191dee5e164a20c848bb71d12 | |
parent | 7fa1365c54c28b3cd9375539f381b54061a1880d (diff) | |
download | git-rt/completion-tag.tar.gz |
completion: add git-tag optionsrt/completion-tag
Add completion for git-tag options including
all options that are currently shown in "git tag -h".
Signed-off-by: Ralf Thielow <ralf.thielow@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r-- | contrib/completion/git-completion.bash | 10 |
1 files changed, 10 insertions, 0 deletions
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 () |