Merge branch 'tz/complete-tag-delete-tagname'
authorJunio C Hamano <gitster@pobox.com>
Wed, 21 Mar 2018 18:30:15 +0000 (11:30 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 21 Mar 2018 18:30:15 +0000 (11:30 -0700)
* tz/complete-tag-delete-tagname:
  completion: complete tags with git tag --delete/--verify

contrib/completion/git-completion.bash

index 6da95b8..c7957f0 100644 (file)
@@ -2967,7 +2967,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
                        ;;