]> Cypherpunks repositories - gostls13.git/commit
cmd/go: use workspace modules' go.sum files to check sums
authorMichael Matloob <matloob@golang.org>
Thu, 28 Oct 2021 18:54:30 +0000 (14:54 -0400)
committerMichael Matloob <matloob@golang.org>
Fri, 12 Nov 2021 22:50:32 +0000 (22:50 +0000)
commit1cd600301ea2a0b13d5e158282200114dc9de3fd
tree7aa5ac27b089d3f5f7c11ade92522984b1d72227
parentf9dcda3fd83e83fb29cc6b0f710faa49ba98a54b
cmd/go: use workspace modules' go.sum files to check sums

By default, use workspace modules' go.sum files to check sums. Any
missing sums will still be written to go.work.sum

For #45713

Change-Id: I0f537602523dfec44d423c3c80c7ef396e1397b1
Reviewed-on: https://go-review.googlesource.com/c/go/+/359478
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>
src/cmd/go/internal/modfetch/fetch.go
src/cmd/go/internal/modload/init.go
src/cmd/go/testdata/script/work_sum.txt
src/cmd/go/testdata/script/work_sum_mismatch.txt [new file with mode: 0644]