]> Cypherpunks repositories - gostls13.git/commit
cmd/go: clear cmd cache to avoid duplicate loads errors
authorDmitriy Dudkin <dudkin.dmitriy@gmail.com>
Thu, 25 Feb 2016 19:48:57 +0000 (21:48 +0200)
committerBrad Fitzpatrick <bradfitz@golang.org>
Thu, 25 Feb 2016 21:31:39 +0000 (21:31 +0000)
commitca42f1f50e4cc26b896275673218d7376fab501d
tree0f67b7606e457e3e612255b6820f1c18d08f633e
parentb24c6fbfb3303f994ea8adfdf68436d95d2f841b
cmd/go: clear cmd cache to avoid duplicate loads errors

go get -u all command updates all packages including standard
commands. We need to get commands evicted from their cache to
avoid loading old versions of the packages evicted from the
packages cache.

Fixes #14444

Change-Id: Icd581a26e1db34ca634aba595fed62b097094c2f
Reviewed-on: https://go-review.googlesource.com/19899
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/go/get.go
src/cmd/go/go_test.go