Re: [BUG] shallow clones over http
- From
Jeff King <peff@peff.net>
- Date
- Apr 13, 2013, 06:03 UTC
- Message-ID
- <20130413060310.GA21921@sigill.intra.peff.net>
- In-Reply-To
- <loom.20130410T144700-304@post.gmane.org>
On Wed, Apr 10, 2013 at 12:48:51PM +0000, Tom wrote:
Show 16 quoted lines
> The problem occurs to me also when I want to "deepen" a shallow clone of > MediaWiki via https:// > > git clone --depth 1 https://gerrit.wikimedia.org/r/p/mediawiki/core.git > git pull --depth=99999 > > fatal: git fetch-pack: expected shallow list. > > Perhaps it helps someone to find the reason. > > UPDATE: > > This however works > > git clone --depth=2 https://gerrit.wikimedia.org/r/p/mediawiki/core.git > git fetch --depth=5
Yes, I experienced the same thing. I don't think the problem is related to the depth per se, but rather the particular pattern of ACKs that upload-pack sends based on which commits are being selected.
-Peff