"D. Ben Knoble via GitGitGadget" <gitgitgadget@xxxxxxxxx> 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.