]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.19] cmd/go: avoid overwriting cached Origin metadata
authorBryan C. Mills <bcmills@google.com>
Tue, 23 Aug 2022 22:00:34 +0000 (18:00 -0400)
committerHeschi Kreinick <heschi@google.com>
Mon, 29 Aug 2022 19:13:20 +0000 (19:13 +0000)
commitd2bcb22ce07ffbbdefe1370dec597b35d8d58e81
tree89d417d99a10bfa2abfd1f9c69b047dfe89b9f00
parentd39fd4f2b74406d6a8c1af13fdc731051d076931
[release-branch.go1.19] cmd/go: avoid overwriting cached Origin metadata

Fixes #54633.
Updates #54631.

Change-Id: I17d2fa282642aeb1ae2a6e29a0756b8960bea34b
Reviewed-on: https://go-review.googlesource.com/c/go/+/425255
Run-TryBot: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Bryan Mills <bcmills@google.com>
Reviewed-by: Than McIntosh <thanm@google.com>
(cherry picked from commit e3004d96b6899945d76e5dd373756324c8ff98fb)
Reviewed-on: https://go-review.googlesource.com/c/go/+/425211
src/cmd/go/internal/modfetch/codehost/codehost.go
src/cmd/go/internal/modfetch/codehost/git.go
src/cmd/go/internal/modload/build.go
src/cmd/go/internal/modload/query.go