$ go version
go version devel +2217e89ba3 Fri Mar 5 09:24:34 2021 +0000 linux/amd64
$ go get -d mvdan.cc/garble@branch/with/slash
go get: mvdan.cc/garble@branch/with/slash: invalid version: version "branch/with/slash" invalid: disallowed version string
The error line really doesn't have to be that long, especially given how it's repeating essentially the same three times.
Plus, it doesn't tell me why the version is disallowed. I had this happen with a name like feat/foo-bar and I had to think twice about what character it was upset about.
go get: mvdan.cc/garble@branch/with/slash: invalid version "branch/with/slash": version strings can't contain '/'
The text was updated successfully, but these errors were encountered: