]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.12] cmd/go/internal/modfetch: handle codeRoot == path for paths...
authorBryan C. Mills <bcmills@google.com>
Thu, 7 Mar 2019 22:29:24 +0000 (17:29 -0500)
committerBryan C. Mills <bcmills@google.com>
Fri, 8 Mar 2019 19:20:57 +0000 (19:20 +0000)
commit4dd46a678fec26ff05b0ef1cf43aa4531dfa192a
treeb5258f4a3fdb8dd5cbd06d375d79e6a840d1c89c
parent0ea746023f4c6ce9d889e521af8756de0c9674e4
[release-branch.go1.12] cmd/go/internal/modfetch: handle codeRoot == path for paths with major-version suffixes

Fixes #30665

Change-Id: Icbcfdb3907bc003ac17a8c7df17ecb41daf82eb4
Reviewed-on: https://go-review.googlesource.com/c/go/+/166117
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Jay Conrod <jayconrod@google.com>
(cherry picked from commit 1ab9f6837d6da80dad41657a913e47fa13a4fee8)
Reviewed-on: https://go-review.googlesource.com/c/go/+/166317
src/cmd/go/internal/modfetch/coderepo.go
src/cmd/go/internal/modfetch/coderepo_test.go