summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--Completion/Unix/Command/_git6
2 files changed, 9 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index efc7004a8..c1f353484 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2011-05-12  Mikael Magnusson <mikachu@gmail.com>
 
+	* Nikolai Weibull: 29124: Completion/Unix/Command/_git: Fix
+	-l option.
+
+2011-05-12  Mikael Magnusson <mikachu@gmail.com>
+
 	* 29205: Completion/Unix/Type/_pids: don't sort processes.
 
 2011-05-12  Mikael Magnusson <mikachu@gmail.com>
@@ -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)