mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-18 15:21:16 +02:00
23838: have git verify-tag complete tags instead of hash IDs.
This commit is contained in:
parent
96672afa0f
commit
e6b8e5ce42
2 changed files with 4 additions and 1 deletions
|
@ -1,5 +1,8 @@
|
||||||
2007-09-27 Clint Adams <clint@zsh.org>
|
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
|
* 23846: Completion/Unix/Command/_git: merge in additional changes
|
||||||
from Nikolai Weibull's repo.
|
from Nikolai Weibull's repo.
|
||||||
|
|
||||||
|
|
|
@ -1960,7 +1960,7 @@ __git_zstyle_default ':completion::complete:git-status:argument-rest:*' ignore-l
|
||||||
(( $+functions[_git-verify-tag] )) ||
|
(( $+functions[_git-verify-tag] )) ||
|
||||||
_git-verify-tag () {
|
_git-verify-tag () {
|
||||||
_arguments \
|
_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.
|
# TODO: This should take those arguments that git-diff-tree can take, as well.
|
||||||
|
|
Loading…
Reference in a new issue