about summary refs log tree commit diff
diff options
context:
space:
mode:
-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 148aef5cb..eecc0febe 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-09-22  m0viefreak  <m0viefreak.cm@googlemail.com>
+
+	* 31741: Completion/Unix/Command/_git: _git: fix a wrong variable
+	in __git_config_values
+
 2013-09-21  Barton E. Schaefer  <schaefer@zsh.org>
 
 	* unposted: Src/glob.c: improve an error message.
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index 98080403a..0697e3c7b 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -5920,7 +5920,7 @@ __git_config_values () {
   default=$2
   shift 2
   values=($*)
-  [[ -n $current ]] && values[(r)$(__git_pattern_escape $default):*]+=' (current)'
+  [[ -n $current ]] && values[(r)$(__git_pattern_escape $current):*]+=' (current)'
   values[(r)$(__git_pattern_escape $default):*]+=' (default)'
 
   _describe -t ${opts[-t]:-values} ${opts[-l]:-value} values