]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.16] cmd/go: fix version validation in 'go mod edit -exclude'
authorBryan C. Mills <bcmills@google.com>
Mon, 22 Feb 2021 20:05:20 +0000 (15:05 -0500)
committerDmitri Shuralyov <dmitshur@golang.org>
Mon, 1 Mar 2021 20:40:43 +0000 (20:40 +0000)
commite0bd146a13f73038e0f7b5e85d49feec1d0d3f3c
treedaa30dda5cd1f10a8f1b178da97e8c84d7bbb7e9
parentca9cd629fb0609c9a2b6f6bf91ac6c6d33071be6
[release-branch.go1.16] cmd/go: fix version validation in 'go mod edit -exclude'

The fix is to pull in CL 295931 from the x/mod repo.

Updates #44497
Fixes #44498

Change-Id: I008b58d0f4bb48c09d4f1e6ed31d11a714f87dc0
Reviewed-on: https://go-review.googlesource.com/c/go/+/295150
Trust: Bryan C. Mills <bcmills@google.com>
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Jay Conrod <jayconrod@google.com>
Reviewed-by: Michael Matloob <matloob@golang.org>
(cherry picked from commit 691ac806d20616fab66bb50752edfa9e4e9f8151)
Reviewed-on: https://go-review.googlesource.com/c/go/+/295930
src/cmd/go.mod
src/cmd/go.sum
src/cmd/go/testdata/script/mod_edit.txt
src/cmd/vendor/golang.org/x/mod/modfile/rule.go
src/cmd/vendor/modules.txt