Skip to content

Commit c60f7ea

Browse files
committed
fix(process): unset GIT_WORK_TREE
1 parent 8d18ef4 commit c60f7ea

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lua/lazy/manage/process.lua

+1
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ function M.spawn(cmd, opts)
6262
GIT_SSH_COMMAND = "ssh -oBatchMode=yes",
6363
}, uv.os_environ(), opts.env or {})
6464
env.GIT_DIR = nil
65+
env.GIT_WORK_TREE = nil
6566
env.GIT_TERMINAL_PROMPT = "0"
6667

6768
---@type string[]

0 commit comments

Comments
 (0)