golang/go

cmd/go: downloading dependencies stuck when git tag signature is enable with an interactive editor

Open

#63,758 创建于 2023年10月26日

在 GitHub 查看
 (14 评论) (0 反应) (0 负责人)Go (19,008 fork)batch import
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:

image

贡献者指南