diff options
author | Todd Zullinger <tmz@pobox.com> | 2018-03-18 05:01:35 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-03-19 17:55:01 +0100 |
commit | 1775e990f793965dcfc2cf62f4efccf0f2c21e28 (patch) | |
tree | cc822014f86112b126044813526496d80dbdcb97 /contrib/completion/git-completion.bash | |
parent | Merge branch 'ys/bisect-object-id-missing-conversion-fix' into maint (diff) | |
download | git-1775e990f793965dcfc2cf62f4efccf0f2c21e28.tar.xz git-1775e990f793965dcfc2cf62f4efccf0f2c21e28.zip |
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 '')
-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 ;; |