about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFrank Terbeck <bewater@users.sourceforge.net>2011-04-15 14:32:09 +0000
committerFrank Terbeck <bewater@users.sourceforge.net>2011-04-15 14:32:09 +0000
commitfe5109bc439b9e84e359836c086a6f3cdc8ec4b8 (patch)
tree493a388bf87cea176138acc7384acb2fd46ff841
parent2c6c147bd362d0afa2220cb4505b0af3025f9b21 (diff)
downloadzsh-fe5109bc439b9e84e359836c086a6f3cdc8ec4b8.tar.gz
zsh-fe5109bc439b9e84e359836c086a6f3cdc8ec4b8.tar.xz
zsh-fe5109bc439b9e84e359836c086a6f3cdc8ec4b8.zip
Simon Ruderich: 28927: Fix "git tag -v" completion.
-rw-r--r--ChangeLog7
-rw-r--r--Completion/Unix/Command/_git4
2 files changed, 9 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index c3c262d7e..b73d397eb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-04-15  Frank Terbeck  <ft@bewatermyfriend.org>
+
+	* Simon Ruderich: 28927: Completion/Unix/Command/_git: Fix "git
+	tag -v" completion.
+
 2011-04-15  Mikael Magnusson <mikachu@gmail.com>
 
 	* 28998: Completion/Unix/Command/_make: set return status
@@ -14456,5 +14461,5 @@
 
 *****************************************************
 * This is used by the shell to define $ZSH_PATCHLEVEL
-* $Revision: 1.5248 $
+* $Revision: 1.5249 $
 *****************************************************
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index fb1b08ce1..000c1a43b 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -1511,7 +1511,9 @@ _git-tag () {
       '-l[list tags matching pattern]:pattern' \
       '--contains=[only list tags which contain the specified commit]: :__git_commits' \
     - verification \
-      '-v[verifies gpg signutare of tags]' && ret=0
+      '-v[verifies gpg signutare of tags]' \
+      '*:: :__git_ignore_line_inside_arguments __git_tags' \
+      && ret=0
 }
 
 # Ancillary Commands (Manipulators)