diff options
author | Todd Zullinger <tmz@pobox.com> | 2018-03-18 07:01:35 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-03-19 19:55:01 +0300 |
commit | 1775e990f793965dcfc2cf62f4efccf0f2c21e28 (patch) | |
tree | cc822014f86112b126044813526496d80dbdcb97 /contrib | |
parent | 38e79b1fdab9244e1727d0698afcf3bb8956c0a4 (diff) |
completion: complete tags with git tag --delete/--verify
Completion of tag names has worked for the short -d/-v options since
88e21dc746 ("Teach bash about completing arguments for git-tag",
2007-08-31). The long options were not added to "git tag" until many
years later, in c97eff5a95 ("git-tag: introduce long forms for the
options", 2011-08-28).
Extend tag name completion to --delete/--verify.
Signed-off-by: Todd Zullinger <tmz@pobox.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/completion/git-completion.bash | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash index 3683c772c5..c0b74aa25c 100644 --- a/contrib/completion/git-completion.bash +++ b/contrib/completion/git-completion.bash @@ -3045,7 +3045,7 @@ _git_tag () while [ $c -lt $cword ]; do i="${words[c]}" case "$i" in - -d|-v) + -d|--delete|-v|--verify) __gitcomp_direct "$(__git_tags "" "$cur" " ")" return ;; |