]> Cypherpunks repositories - gostls13.git/commit
cmd: pull in golang.org/x/mod@3a5865c
authorMichael Matloob <matloob@golang.org>
Mon, 15 Nov 2021 21:19:29 +0000 (16:19 -0500)
committerMichael Matloob <matloob@golang.org>
Tue, 16 Nov 2021 17:32:23 +0000 (17:32 +0000)
commit40effca7a13d11f3549a24a5d4b02e87c12fc6bb
tree2c00e91c69691fc3fdbd6c2462084fdc6bc900c2
parent29ec902efc0ae53c4435097efdb738667466756c
cmd: pull in golang.org/x/mod@3a5865c

This change updates the cmd module's requirement on x/mod and vendors in
the changes.

This pulls in the following changes into our vendored copy of x/mod:
golang.org/cl/351319: module: accept trailing slash in MatchPrefixPattern
golang.org/cl/353749: semver: remove unused err field
golang.org/cl/355630: x/mod: update requirement on x/crypto
golang.org/cl/359412: modfile: rename directory directive to use

Changes have been made in cmd/go renaming all uses of directory to use
and fixing references to functions in x/mod/modfile to account for the
changes in the last of thse CLs.

For #45713

Change-Id: I9121d08f6e6b11838bca50e6cbd756baeeae867b
Reviewed-on: https://go-review.googlesource.com/c/go/+/364114
Trust: Michael Matloob <matloob@golang.org>
Run-TryBot: Michael Matloob <matloob@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
25 files changed:
src/cmd/go.mod
src/cmd/go.sum
src/cmd/go/alldocs.go
src/cmd/go/internal/modload/init.go
src/cmd/go/internal/workcmd/edit.go
src/cmd/go/internal/workcmd/use.go
src/cmd/go/testdata/script/work.txt
src/cmd/go/testdata/script/work_edit.txt
src/cmd/go/testdata/script/work_env.txt
src/cmd/go/testdata/script/work_prune.txt
src/cmd/go/testdata/script/work_replace.txt
src/cmd/go/testdata/script/work_replace_conflict.txt
src/cmd/go/testdata/script/work_replace_conflict_override.txt
src/cmd/go/testdata/script/work_sum.txt
src/cmd/go/testdata/script/work_sum_mismatch.txt
src/cmd/go/testdata/script/work_sync.txt
src/cmd/go/testdata/script/work_sync_irrelevant_dependency.txt
src/cmd/go/testdata/script/work_sync_relevant_dependency.txt
src/cmd/go/testdata/script/work_use.txt
src/cmd/go/testdata/script/work_why_download_graph.txt
src/cmd/vendor/golang.org/x/mod/modfile/rule.go
src/cmd/vendor/golang.org/x/mod/modfile/work.go
src/cmd/vendor/golang.org/x/mod/module/module.go
src/cmd/vendor/golang.org/x/mod/semver/semver.go
src/cmd/vendor/modules.txt