git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] completion: zsh: stop leaking local cache variable

From
Junio C Hamano <gitster@pobox.com>
Date
Apr 30, 2024, 23:18 UTC
Message-ID
<xmqqzftawiau.fsf@gitster.g>
In-Reply-To
<pull.1725.git.1714513995564.gitgitgadget@gmail.com>
"D. Ben Knoble via GitGitGadget" <gitgitgadget@gmail.com> writes:
Show 5 quoted lines
> 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.
Previous: D. Ben Knoble via GitGitGadget
Message 2 of 2 in “completion: zsh: stop leaking local cache variable”
  1. completion: zsh: stop leaking local cache variableD. Ben Knoble via GitGitGadget, Apr 30, 2024
  2. Junio C HamanoApr 30, 2024

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.