From fe5109bc439b9e84e359836c086a6f3cdc8ec4b8 Mon Sep 17 00:00:00 2001 From: Frank Terbeck Date: Fri, 15 Apr 2011 14:32:09 +0000 Subject: Simon Ruderich: 28927: Fix "git tag -v" completion. --- ChangeLog | 7 ++++++- Completion/Unix/Command/_git | 4 +++- 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 + + * Simon Ruderich: 28927: Completion/Unix/Command/_git: Fix "git + tag -v" completion. + 2011-04-15 Mikael Magnusson * 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) -- cgit 1.4.1