Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[PATCH] completion: _git-config: remove extraneous "local expl"
- X-seq: zsh-workers 35779
- From: Daniel Hahler <genml+zsh-workers@xxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: [PATCH] completion: _git-config: remove extraneous "local expl"
- Date: Sun, 12 Jul 2015 18:16:14 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=thequod.de; h= x-mailer:message-id:date:date:subject:subject:from:from:received :received:received; s=postfix2; t=1436717783; bh=1enPFLq9CPRskyK s/3Q57BPL8qyR4DRh1LX0qrAQt0M=; b=GULBttukE4k2x47idxVPj41hGxng8Yr pQxNe2PX/jLVgT6OQSDP5cFaRwBI5z4nmPd4oqMM4+PBeJfVAwWqURQwlhA+PVpH xUjt5dOoU31wape7N97ekIQdT6GeTTRIRatFRYdz+BaC2voZglIVSWO2PZpLCllZ t553AVSsnyyg=
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
From: Daniel Hahler <git@xxxxxxxxxx>
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.
---
Completion/Unix/Command/_git | 1 -
1 file changed, 1 deletion(-)
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index a44de40..26f108f 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -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
--
2.4.3.dirty
Messages sorted by:
Reverse Date,
Date,
Thread,
Author