golang/go
在 GitHub 查看cmd/go: downloading dependencies stuck when git tag signature is enable with an interactive editor
Open
#63,758 创建于 2023年10月26日
GoCommandNeedsInvestigationhelp wantedmodules
仓库指标
- Star
- (133,883 star)
- PR 合并指标
- (30 天内没有已合并 PR)
描述
What version of Go are you using (go version)?
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
What did you do?
My terminal has EDITOR=nvim set. go mod download gets stuck once it calls git tag and git opens NeoVim in the background.
The solution was to do EDITOR= go mod download. Maybe the EDITOR variable should be cleared when calling git.
What did you expect to see?
The command should complete
What did you see instead?
Nothing, the program is stuck. Inspecting the process tree, I see this: