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
{{ message }}
This repository has been archived by the owner on Mar 23, 2021. It is now read-only.
Currently (well, once #32 is merged to be precise), gobin foo.com/bar@$revision will be the only form of gobin that always hit the network.
We can do better here by caching the resolution of these revision identifiers.
That way we unify the -u behaviour:
gobin foo.com/bar@master # hits the network first time we need to resolve master
gobin foo.com/bar@master # does not hit network
gobin -u foo.com/bar@master # hits network
To add a brief note; sufficient VCS information is not available in $GOPATH/pkg/mod/cache/vcs because each directory there is a shallow copy of the remote, hence it does not have any remote reference information.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Currently (well, once #32 is merged to be precise),
gobin foo.com/bar@$revision
will be the only form ofgobin
that always hit the network.We can do better here by caching the resolution of these revision identifiers.
That way we unify the
-u
behaviour:cc @rogpeppe
The text was updated successfully, but these errors were encountered: