Skip to content

Commit

Permalink
fix(process): unset GIT_WORK_TREE
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Mar 4, 2023
1 parent 8d18ef4 commit c60f7ea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lua/lazy/manage/process.lua
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ function M.spawn(cmd, opts)
GIT_SSH_COMMAND = "ssh -oBatchMode=yes",
}, uv.os_environ(), opts.env or {})
env.GIT_DIR = nil
env.GIT_WORK_TREE = nil
env.GIT_TERMINAL_PROMPT = "0"

---@type string[]
Expand Down

0 comments on commit c60f7ea

Please sign in to comment.