threads / discuss / 37375

Fwd: Shallow clone

Subject: Fwd: Shallow clone

## tl;dr

2 messages between Aug 19, 2014 and Aug 19, 2014.

replies: 1people: 2as markdown or json

Steven Evergreen· Aug 19, 2014, 11:11 UTC · lore

Hi, everyone. I'm trying to perform a shallow clone with visibility of all remote branches.

git clone REPO --depth 1 --no-single-branch
is consistently giving me

Cloning into 'REPONAME'... fatal: (null) is unknown object remote: Total 0 (delta 0), reused 0 (delta 0) fatal: recursion detected in die handler remote: aborting due to possible repository corruption on the remote side. fatal: error in sideband demultiplexer

with 2.0.3 .
Is this command not supported? Have I hit a bug?
Thanks!
Duy Nguyen· Aug 19, 2014, 12:01 UTC · re: Steven Evergreen · lore

Re: Shallow clone

On Tue, Aug 19, 2014 at 6:11 PM, Steven Evergreen <i.stevenevergreen@gmail.com> wrote:

Show 17 quoted lines
> Hi, everyone. I'm trying to perform a shallow clone with visibility of
> all remote branches.
>
> git clone REPO --depth 1 --no-single-branch
>
> is consistently giving me
>
> Cloning into 'REPONAME'...
> fatal: (null) is unknown object
> remote: Total 0 (delta 0), reused 0 (delta 0)
> fatal: recursion detected in die handler
> remote: aborting due to possible repository corruption on the remote side.
> fatal: error in sideband demultiplexer
>
> with 2.0.3 .
>
> Is this command not supported? Have I hit a bug?

Yes it's supported and yes I think you hit a bug. Any chance you can share this repository? If not, perhaps just SHA-1 so we know what the commit DAG looks like?

-- 
Duy

← back to recent threads