]> Cypherpunks repositories - gostls13.git/commit
cmd/go/internal/modload: don't set GIT_SSH_COMMAND
authorSean Liao <sean@liao.dev>
Sun, 9 Feb 2025 13:32:27 +0000 (13:32 +0000)
committerGopher Robot <gobot@golang.org>
Tue, 11 Feb 2025 16:36:42 +0000 (08:36 -0800)
commitdcbdc1a2f7368ad8a9193e969cc76c7ffd2f7685
tree53593096ff4764117c41472af65190445956b62c
parent887d9ef6101c6efeef00b0c7c80e634ff983fdcc
cmd/go/internal/modload: don't set GIT_SSH_COMMAND

Allows git core.sshcommand to take effect when set by the user.
This was originally added to work around an issue in
OpenSSH < 7.3 (2016), see https://go.dev/issue/13453 .
A fixed version of OpenSSH should be widely available enough
that it is no longer necessary

Fixes #71482

Change-Id: I6f44cc354e8a4063e226cac78ec27117fcc40e93
Reviewed-on: https://go-review.googlesource.com/c/go/+/647995
Reviewed-by: Sam Thanawalla <samthanawalla@google.com>
Auto-Submit: Daniel Martí <mvdan@mvdan.cc>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Matloob <matloob@golang.org>
src/cmd/go/internal/modload/init.go