From: Tom Date: Wed, 10 Apr 2013 12:01:27 GMT Subject: Re: [BUG] shallow clones over http Message-ID: In-Reply-To: <20130403040352.GA8284@sigill.intra.peff.net> Jeff King peff.net> writes: > > I'm trying to track down a protocol bug that happens with shallow clones > over smart-http. As far as I can tell, the bug has existed in all > versions. > > You can reproduce it using the attached repository, which is a shallow > clone of https://github.com/mileszs/ack.vim.git, like: > > $ tar xzf repo.tar.gz > $ cd repo.git > $ git fetch --depth=10 > fatal: git fetch-pack: expected shallow list 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.