]> Cypherpunks repositories - gostls13.git/commit
cmd/go: allow unversioned paths to -dropreplace flag
authorBryan C. Mills <bcmills@google.com>
Wed, 25 Jul 2018 21:56:57 +0000 (17:56 -0400)
committerRuss Cox <rsc@golang.org>
Tue, 31 Jul 2018 01:57:22 +0000 (01:57 +0000)
commit38dc795074acbf2529a39e45a64fce3ab22cf8e4
tree640dccca2cc161b1cc124d1a5a556729dc3d2e30
parent52cc9e3762171bd45368b3280554bf12a63f23b2
cmd/go: allow unversioned paths to -dropreplace flag

We can add unversioned paths via -replace;
-dropreplace must be able to drop them.

Fixes #26417.

Change-Id: Ic05e9ae2ad80c008e11b195695cbb9d0fc8dbc0a
Reviewed-on: https://go-review.googlesource.com/126155
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
src/cmd/go/internal/modcmd/mod.go
src/cmd/go/testdata/script/mod_edit.txt