golang/go
View on GitHubcmd/go: downloading dependencies stuck when git tag signature is enable with an interactive editor
Open
#63,758 opened on Oct 26, 2023
GoCommandNeedsInvestigationhelp wantedmodules
Repository metrics
- Stars
- (133,883 stars)
- PR merge metrics
- (No merged PRs in 30d)
Description
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: