Re: [PATCH] git-clone: Sync documentation to usage note.
- From
Shawn O. Pearce <spearce@spearce.org>
- Date
- Feb 15, 2007, 22:38 UTC
- Message-ID
- <20070215223802.GA27992@spearce.org>
- In-Reply-To
- <117157763494-git-send-email-schlotter@users.sourceforge.net>
Christian Schlotter <schlotter@users.sourceforge.net> wrote:
Show 13 quoted lines
> 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.