summary refs log tree commit diff
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2017-07-31 00:52:31 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2017-07-31 00:52:49 +0000
commit562482a49505774f3b24e05297bcc42b68624dfb (patch)
tree8801a90ccc0e37dc44ae69458385dabb0ba38d6a
parent43e55a9bcd2c90124a751f2597d2f33cb6e3c042 (diff)
downloadzsh-562482a49505774f3b24e05297bcc42b68624dfb.tar.gz
zsh-562482a49505774f3b24e05297bcc42b68624dfb.tar.xz
zsh-562482a49505774f3b24e05297bcc42b68624dfb.zip
unposted: _git: Fix style lookup for 'max-verbose'.
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Command/_git2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 24855de34..a5480b15b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2017-07-31  Daniel Shahaf  <d.s@daniel.shahaf.name>
+
+	* unposted: Completion/Unix/Command/_git: Fix style lookup for
+	'max-verbose'.
+
 2017-07-29  Peter Stephenson  <p.w.stephenson@ntlworld.com>
 
 	* unposted: Etc/FAQ.yo, NEWS, README: update in preparation for
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index aacd3bfd7..ce8a4049d 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -5515,7 +5515,7 @@ __git_describe_branch () {
   shift 3
 
   integer maxverbose
-  if zstyle -s :completion:$curcontext max-verbose maxverbose &&
+  if zstyle -s :completion:$curcontext: max-verbose maxverbose &&
     (( ${compstate[nmatches]} <= maxverbose )); then
     local __c
     local -a __commits