cmd/go: get downloads main~1 commit, not main #41388
Labels
FrozenDueToAge
modules
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
Reproduce:
Create a new repo and
go mod init
. Rungo get -v -u github.com/tailscale/depaware
. Then cat go.mod.Result:
require github.com/tailscale/depaware v0.0.0-20200914201916-3f1070fd0d55 // indirect
Expected:
require github.com/tailscale/depaware v0.0.0-20200914232109-e09ee10c1824 // indirect
Note that you can force upgrade by
go get -u github.com/tailscale/depaware@e09ee10c1824
.3f1070fd0d55
is HEAD~1;e09ee10c1824
is HEAD.go get
should thus picke09ee10c1824
.cc @jayconrod @bcmills
cc @danderson
The text was updated successfully, but these errors were encountered: