Re: [BUG] shallow clones over http
- From
- Tom <mail@tgries.de>
- Date
- Apr 10, 2013, 12:01 UTC
- Message-ID
- <loom.20130410T135840-387@post.gmane.org>
- In-Reply-To
- <20130403040352.GA8284@sigill.intra.peff.net>
Jeff King <peff <at> peff.net> writes:
Show 12 quoted lines
> > 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.