zsh-workers
 help / color / mirror / code / Atom feed
* [PATCH] completion: _git-config: remove extraneous "local expl"
@ 2015-07-12 16:16 Daniel Hahler
  0 siblings, 0 replies; only message in thread
From: Daniel Hahler @ 2015-07-12 16:16 UTC (permalink / raw)
  To: zsh-workers

From: Daniel Hahler <git@thequod.de>

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-07-12 16:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-12 16:16 [PATCH] completion: _git-config: remove extraneous "local expl" Daniel Hahler

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).