Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/crypto: git clone fails #25399

Closed
hhrutter opened this issue May 15, 2018 · 2 comments
Closed

x/crypto: git clone fails #25399

hhrutter opened this issue May 15, 2018 · 2 comments

Comments

@hhrutter
Copy link

hhrutter commented May 15, 2018

Please answer these questions before submitting your issue. Thanks!

What version of Go are you using (go version)?

go version go1.10.2 darwin/amd64

What operating system and processor architecture are you using (go env)?

GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/horstrutter/Library/Caches/go-build"
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/horstrutter/go"
GORACE=""
GOROOT="/Users/horstrutter/gotip"
GOTMPDIR=""
GOTOOLDIR="/Users/horstrutter/gotip/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/54/ctlrqd1s2vz28g2m8_psscyc0000gn/T/go-build797093095=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you do?

I noted some strange behaviour:

go get -u golang.org/x/crypto/... works!

but cloning does not and I wonder why:

git clone https://golang.org/x/crypto crypto Cloning into 'crypto'... fatal: https://golang.org/x/crypto/info/refs not valid: is this a git repository?

Looks like I get the same error when trying to clone any other repo from https://golang.org/x
at least for vgo I get the same.

What am I doing wrong here?

@gopherbot gopherbot added this to the Unreleased milestone May 15, 2018
@pciet
Copy link
Contributor

pciet commented May 15, 2018

git clone https://go.googlesource.com/crypto works.

@hhrutter
Copy link
Author

Yes! That's it. Thanks so much!

@golang golang locked and limited conversation to collaborators May 15, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants