We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c8553ca commit 6c0b803Copy full SHA for 6c0b803
lua/lazy/manage/process.lua
@@ -11,6 +11,7 @@ local uv = vim.loop
11
---@field on_line? fun(string)
12
---@field on_exit? fun(ok:boolean, output:string)
13
---@field timeout? number
14
+---@field env? string[]
15
16
---@param opts? ProcessOpts
17
function M.spawn(cmd, opts)
@@ -21,6 +22,9 @@ function M.spawn(cmd, opts)
21
22
"GIT_TERMINAL_PROMPT=0",
23
"GIT_SSH_COMMAND=ssh -oBatchMode=yes",
24
}
25
+ if opts.env then
26
+ vim.list_extend(env, opts.env)
27
+ end
28
29
for key, value in
30
pairs(uv.os_environ() --[[@as string[] ]])
lua/lazy/manage/task/git.lua
@@ -26,6 +26,7 @@ M.log = {
"--decorate",
"--date=short",
"--color=never",
+ "--no-show-signature",
31
32
if opts.updated then
0 commit comments