git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [BUG] shallow clones over http

From
TTom <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.
Previous: Jeff KingNext: Ramkumar Ramachandra
Message 2 of 7 in “[BUG] shallow clones over http”
  1. Jeff KingApr 3, 2013
  2. TomApr 10, 2013
  3. Ramkumar RamachandraApr 10, 2013
  4. TomApr 10, 2013
  5. Jeff KingApr 13, 2013
  6. Junio C HamanoMay 8, 2013
  7. Duy NguyenFeb 6, 2014

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.