You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> [!net] skip
> [!exec:git] skip
> env GOPROXY=
> cd repo
> go get rsc.io/[email protected]
> env GOHACK=/gohack
> gohack get rsc.io/quote
rsc.io/quote => /gohack/rsc.io/quote
> gohack undo
> gohack get -vcs rsc.io/quote
I think this issue also raises the question of how you "downgrade" in the case you subsequently call bare get (because the assumption would be, in that case, that you aren't working in a VCS checkout).
The text was updated successfully, but these errors were encountered:
$ gohack get -vcs github.com/rogpeppe/go-internal
cannot update VCS dir for github.com/rogpeppe/go-internal: cannot get info: cannot get VCS info from "/home/mvdan/gohack/github.com/rogpeppe/go-internal": fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
all modules failed; not replacing anything
$ # remove ~/gohack
$ gohack get -vcs github.com/rogpeppe/go-internal
creating github.com/rogpeppe/[email protected]
github.com/rogpeppe/go-internal => /home/mvdan/gohack/github.com/rogpeppe/go-internal
Effectively reproduced by:
I think this issue also raises the question of how you "downgrade" in the case you subsequently call bare
get
(because the assumption would be, in that case, that you aren't working in a VCS checkout).The text was updated successfully, but these errors were encountered: