]> Cypherpunks repositories - gostls13.git/commit
cmd/go/internal/get: remove unused tag selection code
authorDave Cheney <dave@cheney.net>
Mon, 13 Mar 2017 00:19:47 +0000 (11:19 +1100)
committerDave Cheney <dave@cheney.net>
Mon, 13 Mar 2017 02:42:28 +0000 (02:42 +0000)
commitd5a9fbd556c441fa537c730681d6f8e7673b6e47
tree4e69b634589b4f584e8b39c26b672b61af8f42e6
parent7ee43faf78f3b0c97c315c28f13dd802047af0c8
cmd/go/internal/get: remove unused tag selection code

selectTag has been hard coded to only understand the tag `go1` since
CL 6112060 which landed in 2012. The commit message asserted;

  Right now (before go1.0.1) there is only one possible tag,
  "go1", and I'd like to keep it that way.

Remove goTag and the unused matching code in selectTag.

Change-Id: I85f7c10f95704e22f8e8681266afd72bbcbe8fbd
Reviewed-on: https://go-review.googlesource.com/38112
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/go/internal/get/get.go