Re: [PATCH] git-clone: Sync documentation to usage note.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Christian Schlotter <schlotter@xxxxxxxxxxxxxxxxxxxxx> wrote:
> Please note that I was not able to test the new shallow clone feature, as
> both
>     git clone --depth=5 git://git2.kernel.org/pub/scm/git/git.git
> and
>     git clone --depth 5 git://git2.kernel.org/pub/scm/git/git.git
> do not seem to work.  The former correctly produces the usage note, while
> the latter prints
> 
>     Initialized empty Git repository in /home/cs/tmp2/git/.git/
>     fatal: read error (Connection reset by peer)
>     fetch-pack from 'git://git2.kernel.org/pub/scm/git/git.git' failed.
> 
> Is this a problem on my end?

Sort of.  ;-)

The server side must also support shallow clone.  I don't think
the server on kernel.org has been upgraded yet to a version which
supports that feature, so you cannot shallow clone from there.

-- 
Shawn.
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]