summary refs log tree commit diff
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2007-09-27 12:40:27 +0000
committerClint Adams <clint@users.sourceforge.net>2007-09-27 12:40:27 +0000
commite6b8e5ce4249b920146ff2ad1dc2d15fdd44a1ce (patch)
treeefb43ff154300af00088c81f7793d13fc2cb899e
parent96672afa0f42016dafdcdc79efd03ff854b58b0f (diff)
downloadzsh-e6b8e5ce4249b920146ff2ad1dc2d15fdd44a1ce.tar.gz
zsh-e6b8e5ce4249b920146ff2ad1dc2d15fdd44a1ce.tar.xz
zsh-e6b8e5ce4249b920146ff2ad1dc2d15fdd44a1ce.zip
23838: have git verify-tag complete tags instead of hash IDs.
-rw-r--r--ChangeLog3
-rw-r--r--Completion/Unix/Command/_git2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 8ec798467..55a062a4d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
 
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index af1f8a811..976986113 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -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.