From: Junio C Hamano Date: Tue, 30 Apr 2024 23:18:49 GMT Subject: Re: [PATCH] completion: zsh: stop leaking local cache variable Message-ID: In-Reply-To: "D. Ben Knoble via GitGitGadget" writes: > Commit beb6ee7163 (completion: extract repository discovery from > __gitdir(), 2017-02-03) anticipated this problem by marking > __git_repo_path as local in __git_main and __gitk_main for Bash > completion but did not give the same mark to _git for Zsh completion. > Thus make __git_repo_path local for Zsh completion, too. Will queue. The explanation makes tons of sense. Thanks.