From 3d499d77f137175991061f07e081cd693357e674 Mon Sep 17 00:00:00 2001 From: Oliver Harley Date: Sun, 5 Feb 2023 13:41:33 +0100 Subject: [PATCH] remove GIT_SSH_COMMAND and document --- README.md | 1 + lua/lazy/manage/process.lua | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c272438..10ea89e 100644 --- a/README.md +++ b/README.md @@ -76,6 +76,7 @@ require("lazy").setup({ ``` ℹ️ It is recommended to run `:checkhealth lazy` after installation +ℹ️ It is recommended to config the env-arg `GIT_SSH_COMMAND`, or related [git config](https://git-scm.com/docs/git-config#Documentation/git-config.txt-coresshCommand) `core.sshCommand` with the corresponding non-interactive setting, `OpenSSH = -BatchMode=yes`, `plink.exe = -batch` ## 🔌 Plugin Spec diff --git a/lua/lazy/manage/process.lua b/lua/lazy/manage/process.lua index 2ddcff1..510154e 100644 --- a/lua/lazy/manage/process.lua +++ b/lua/lazy/manage/process.lua @@ -59,7 +59,6 @@ function M.spawn(cmd, opts) local env = { "GIT_TERMINAL_PROMPT=0", - "GIT_SSH_COMMAND=ssh -oBatchMode=yes", } if opts.env then vim.list_extend(env, opts.env)