zsh-workers
 help / color / mirror / code / Atom feed
* [PATCH] Completion/Unix/Command/_git: move "local" statement out of loop
@ 2018-01-24 20:42 Daniel Hahler
  0 siblings, 0 replies; only message in thread
From: Daniel Hahler @ 2018-01-24 20:42 UTC (permalink / raw)
  To: zsh-workers

From: Daniel Hahler <git@thequod.de>

Fixup for 99cf61fd4.
---
 Completion/Unix/Command/_git | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index 30ca80835..80504c003 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -7760,14 +7760,14 @@ _git() {
 declare -gUa _git_third_party_commands
 _git_third_party_commands=()
 
-local file
+local file input
 for file in ${^fpath}/_git-*~(*~|*.zwc)(-.N); do
   local name=${${file:t}#_git-}
   if (( $+_git_third_party_commands[$name] )); then
     continue
   fi
 
-  local desc= input
+  local desc=
   integer i=1
   while read input; do
     if (( i == 2 )); then
-- 
2.16.1


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

only message in thread, other threads:[~2018-01-24 20:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-24 20:42 [PATCH] Completion/Unix/Command/_git: move "local" statement out of loop 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).