mirror of https://github.com/folke/lazy.nvim.git
fix(git): unset GIT_INDEX_FILE so we dont accidentally overwrite a different git repo. Fixes #1107
This commit is contained in:
parent
117556d9e7
commit
7f70dd1749
|
@ -64,6 +64,7 @@ function M.spawn(cmd, opts)
|
|||
env.GIT_DIR = nil
|
||||
env.GIT_WORK_TREE = nil
|
||||
env.GIT_TERMINAL_PROMPT = "0"
|
||||
env.GIT_INDEX_FILE = nil
|
||||
|
||||
---@type string[]
|
||||
local env_flat = {}
|
||||
|
|
Loading…
Reference in New Issue