1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-01-04 06:14:50 +01:00

31741: _git: fix a wrong variable in __git_config_values

This probably was a copy/paste mistake.
This commit is contained in:
m0viefreak 2013-09-22 12:48:15 +02:00 committed by Frank Terbeck
parent 27f9c515ff
commit 5f427b8245
2 changed files with 6 additions and 1 deletions

View file

@ -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.

View file

@ -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