Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmd/go: accept @hash/branch in mod download
Go get in mod-enabled packages lets you do go get "pkg@<hash>" or "pkg@<branch>". Go internally will switch the hash or branch into a pseudo version. Go mod download should do the same. The bug lied in the fact that the disk cache was not being written when Go converted the hash/branch into a pseduo version. Fixes golang#27947 Change-Id: Ib5b376c65406173c3cd8739254b37a919dff8e8f
- Loading branch information