aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2024-05-08 10:18:46 -0700
committerJunio C Hamano <gitster@pobox.com>2024-05-08 10:18:46 -0700
commit97673bdea7918488b3ce0a4591221ecdef299975 (patch)
tree9a6fc49c5e0b9621a8e08cfabc32d9ea7288693c
parentc2b36ab32ec9d5b6ede9b808a0986ab1cb281b42 (diff)
parent3c20acdf465ba211978108ca8507d41e62a016fd (diff)
downloadgit-97673bdea7918488b3ce0a4591221ecdef299975.tar.gz
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
-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]}