summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@gmail.com>2011-05-12 16:01:19 +0000
committerMikael Magnusson <mikachu@gmail.com>2011-05-12 16:01:19 +0000
commit9a5fcb3c31e145686d46a100b114cdfc92d0c87e (patch)
tree64a8b898c4fc063ce255e125d4b4de4fb30acd64
parent5ef22d41c4fa345b77de0d1d6dfb3d4a9b01ee15 (diff)
downloadzsh-9a5fcb3c31e145686d46a100b114cdfc92d0c87e.tar.gz
zsh-9a5fcb3c31e145686d46a100b114cdfc92d0c87e.zip
Nikolai Weibull: 29124: Fix -l option in _git.
-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)