From: Jeff King Date: Sat, 13 Apr 2013 06:03:10 GMT Subject: Re: [BUG] shallow clones over http Message-ID: <20130413060310.GA21921@sigill.intra.peff.net> In-Reply-To: On Wed, Apr 10, 2013 at 12:48:51PM +0000, Tom wrote: > 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