diff options
author | Kyle Wood <kyle@kylewood.cc> | 2018-11-16 10:46:14 -0600 |
---|---|---|
committer | Bryan C. Mills <bcmills@google.com> | 2018-12-07 22:42:18 +0000 |
commit | 179909f20556262422a8b99c059eacdfcebc48ee (patch) | |
tree | ac64ca56cb0dcee9a99ded7a94074b269e7f389b /test/prove.go | |
parent | 444887dde8393c3bbf94122c17ab7f005a7257c4 (diff) | |
download | go-git-179909f20556262422a8b99c059eacdfcebc48ee.tar.gz |
cmd/go: disallow version string in go mod init module path
To prevent confusion, go mod init should not allow version strings in
the module path when provided as an argument. Instead, fail with a
useful error message.
Fixes #28803
Change-Id: I59272a91b042e32cef33c2e2116f760ca1def218
Reviewed-on: https://go-review.googlesource.com/c/150018
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
Diffstat (limited to 'test/prove.go')
0 files changed, 0 insertions, 0 deletions