diff options
| author | Russ Cox <rsc@golang.org> | 2014-10-28 11:14:25 -0400 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2014-10-28 11:14:25 -0400 |
| commit | ea295a4cfbb0641f58c41d3722e7e8fb3b3f493f (patch) | |
| tree | fc27ac51a5ca82d531552bbdfe7b2fa94321d041 /src/runtime/debug | |
| parent | 21a9141ab364ecfea016bf36b8222f4747afa1fb (diff) | |
| download | go-ea295a4cfbb0641f58c41d3722e7e8fb3b3f493f.tar.xz | |
cmd/go: add get -f flag
get -u now checks that remote repo paths match the
ones predicted by the import paths: if you are get -u'ing
rsc.io/pdf, it has to be checked out from the right location.
This is important in case the rsc.io/pdf redirect changes.
In some cases, people have good reasons to use
non-standard remote repos. Add -f flag to allow that.
The f can stand for force or fork, as you see fit.
Fixes #8850.
LGTM=r
R=r
CC=golang-codereviews
https://golang.org/cl/164120043
Diffstat (limited to 'src/runtime/debug')
0 files changed, 0 insertions, 0 deletions
