1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-03 10:21:46 +02:00

35779: completion: _git-config: remove extraneous "local expl"

It is defined at the beginning of the function already, and results in
the output of `expl=''` when completing after `git config
branch.local.pushremote ` etc.
This commit is contained in:
Daniel Hahler 2015-07-12 18:14:03 +02:00
parent ccd612fdf1
commit 8024de798d
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2015-07-13 Daniel Hahler <zsh@thequod.de>
* 35779: Completion/Unix/Command/_git: _git-config: remove
extraneous "local expl".
2015-07-12 Daniel Shahaf <d.s@daniel.shahaf.name>
* unposted: Test/B01cd.ztst: Typo

View file

@ -2923,7 +2923,6 @@ _git-config () {
(*)
# TODO: Do we need to set up a _requested/_next_label?
declare -a action
local expl
_description values expl "$parts[2]"
eval "action=($parts[4])"
"$action[1]" "$expl[@]" "${(@)action[2,-1]}" && ret=0