aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2024-06-28 15:53:09 -0700
committerJunio C Hamano <gitster@pobox.com>2024-06-28 15:53:09 -0700
commitfc636b413b9cc8b7e1e36f5553ac7a22ad28e7ad (patch)
tree0973861e4ee2f6d6f44cfae667ff2797a3f97ad3
parent079323dc6d53a2d202393606d03328094eeb41f1 (diff)
parent3c20acdf465ba211978108ca8507d41e62a016fd (diff)
downloadgit-fc636b413b9cc8b7e1e36f5553ac7a22ad28e7ad.tar.gz
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
-rw-r--r--contrib/completion/git-completion.zsh1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/completion/git-completion.zsh b/contrib/completion/git-completion.zsh
index cac6f61881..f5877bd7a1 100644
--- a/contrib/completion/git-completion.zsh
+++ b/contrib/completion/git-completion.zsh
@@ -272,6 +272,7 @@ _git ()
{
local _ret=1
local cur cword prev
+ local __git_repo_path
cur=${words[CURRENT]}
prev=${words[CURRENT-1]}