Skip to content
This repository was archived by the owner on Aug 25, 2018. It is now read-only.

dumb http transport does not support --depth #71

Open
Dynom opened this issue Aug 17, 2016 · 5 comments
Open

dumb http transport does not support --depth #71

Dynom opened this issue Aug 17, 2016 · 5 comments

Comments

@Dynom
Copy link

Dynom commented Aug 17, 2016

Hi,

I'm not sure where to search on, but I did find this:

path: "git.apache.org/thrift.git/lib/go/thrift",
so I'm curious about the behaviour of this particular package.

When I go get git.apache.org/thrift.git/lib/go/thrift the package is fetched:

$ test -f $GOPATH/src/git.apache.org/thrift.git/lib/go/thrift; echo $?
1

But when I use gvt I get:

$ gvt fetch -a git.apache.org/thrift.git/lib/go/thrift
2016/08/17 09:26:48 Fetching: git.apache.org/thrift.git/lib/go/thrift
fatal: dumb http transport does not support --depth
2016/08/17 09:26:49 command "fetch" failed: exit status 128
@FiloSottile FiloSottile changed the title Problems with fetching git.apache.org/thrift.git/lib/go/thrift dumb http transport does not support --depth Aug 17, 2016
@FiloSottile
Copy link
Owner

Hi! Thanks, you found a bug. To make fetching faster we do shallow clones. They are not supported by all git servers, but we fail to retry without.

@dcelasun
Copy link

dcelasun commented Nov 3, 2016

Any progress on this?

@liubin
Copy link

liubin commented Mar 3, 2017

The same issue, how to resolve or is there is a workaround ?

@dcelasun
Copy link

dcelasun commented Mar 3, 2017

As a workaround, you can comment out this line and recompile gvt.

@liubin
Copy link

liubin commented Mar 6, 2017

Thank you @dcelasun

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

4 participants