Merge branch 'dk/zsh-git-repo-path-fix'

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-05-08 10:18:46 -07:00
commit 97673bdea7

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]}