1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-02 10:01:11 +02:00

23838: have git verify-tag complete tags instead of hash IDs.

This commit is contained in:
Clint Adams 2007-09-27 12:40:27 +00:00
parent 96672afa0f
commit e6b8e5ce42
2 changed files with 4 additions and 1 deletions

View file

@ -1,5 +1,8 @@
2007-09-27 Clint Adams <clint@zsh.org>
* Mikael Magnusson: 23838: Completion/Unix/Command/_git:
have git verify-tag complete tags instead of hash IDs.
* 23846: Completion/Unix/Command/_git: merge in additional changes
from Nikolai Weibull's repo.

View file

@ -1960,7 +1960,7 @@ __git_zstyle_default ':completion::complete:git-status:argument-rest:*' ignore-l
(( $+functions[_git-verify-tag] )) ||
_git-verify-tag () {
_arguments \
':tag:__git_tag_ids' && ret=0
':tag:__git_tags' && ret=0
}
# TODO: This should take those arguments that git-diff-tree can take, as well.