Merge branch 'dk/zsh-git-repo-path-fix' into maint-2.45

Command line completion support for zsh (in contrib/) has been
updated to stop exposing internal state to end-user shell
interaction.

* dk/zsh-git-repo-path-fix:
  completion: zsh: stop leaking local cache variable
This commit is contained in:
Junio C Hamano
2024-06-28 15:53:09 -07:00

View File

@ -272,6 +272,7 @@ _git ()
{
local _ret=1
local cur cword prev
local __git_repo_path
cur=${words[CURRENT]}
prev=${words[CURRENT-1]}