]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.16] cmd: upgrade golang.org/x/mod to fix go.mod parser
authorJay Conrod <jayconrod@google.com>
Wed, 24 Feb 2021 23:24:45 +0000 (18:24 -0500)
committerDmitri Shuralyov <dmitshur@golang.org>
Wed, 3 Mar 2021 17:58:27 +0000 (17:58 +0000)
commit047ca22916333a850bfdea1db4920120911e5cb0
treecf4732dfd8588a5c142c60bb13f14ba358766eb6
parent2b7243a62fb294362266c40022644eb36ed7b43f
[release-branch.go1.16] cmd: upgrade golang.org/x/mod to fix go.mod parser

modfile.Parse passed an empty string to the VersionFixer for the
module path. This caused errors for v2+ versions.

For #44496

Change-Id: I13b86b6ecf6815c4bc9a96ec0668284c9228c205
Reviewed-on: https://go-review.googlesource.com/c/go/+/296131
Trust: Jay Conrod <jayconrod@google.com>
Run-TryBot: Jay Conrod <jayconrod@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
(cherry picked from commit bcac57f89c0ec609e6fbebcbcd42bb73fdaef2f0)
Reviewed-on: https://go-review.googlesource.com/c/go/+/297990
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
src/cmd/go.mod
src/cmd/go.sum
src/cmd/go/testdata/script/mod_retract_fix_version.txt [new file with mode: 0644]
src/cmd/vendor/golang.org/x/mod/modfile/rule.go
src/cmd/vendor/modules.txt