From 9a5fcb3c31e145686d46a100b114cdfc92d0c87e Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Thu, 12 May 2011 16:01:19 +0000 Subject: Nikolai Weibull: 29124: Fix -l option in _git. --- ChangeLog | 7 ++++++- Completion/Unix/Command/_git | 6 +++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index efc7004a8..c1f353484 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2011-05-12 Mikael Magnusson + + * Nikolai Weibull: 29124: Completion/Unix/Command/_git: Fix + -l option. + 2011-05-12 Mikael Magnusson * 29205: Completion/Unix/Type/_pids: don't sort processes. @@ -14664,5 +14669,5 @@ ***************************************************** * This is used by the shell to define $ZSH_PATCHLEVEL -* $Revision: 1.5293 $ +* $Revision: 1.5294 $ ***************************************************** diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git index f58550e9a..ccff03fed 100644 --- a/Completion/Unix/Command/_git +++ b/Completion/Unix/Command/_git @@ -1509,12 +1509,12 @@ _git-tag () { '*:: :__git_ignore_line_inside_arguments __git_tags' \ - listing \ '-n+[limit line output of annotation]: :__git_guard_number "limit"' \ - '-l[list tags matching pattern]:pattern' \ + '-l[list tags matching pattern]' \ '--contains=[only list tags which contain the specified commit]: :__git_commits' \ + '::pattern' \ - verification \ '-v[verifies gpg signutare of tags]' \ - '*:: :__git_ignore_line_inside_arguments __git_tags' \ - && ret=0 + '*:: :__git_ignore_line_inside_arguments __git_tags' && ret=0 } # Ancillary Commands (Manipulators) -- cgit 1.4.1