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

test failed for fetch shallow repo with ref-in-want enabled

From
Llilinchao@oschina.cn <lilinchao@oschina.cn>
Date
Aug 6, 2021, 03:06 UTC
Message-ID
<547b1164f66311eb96320026b95c99cc@oschina.cn>
I just got this kind of error:
  fatal: expected 'packfile', received 'shallow-info'

when remote repo is a shallow repo(created by using --depth), and configured with 'ref-in-want' feature, then "git clone  -C remote_repo  local" failed.  (tested in t/t5703-upload-pack-ref-in-want.sh)

I don't know if this result is expected, and maybe the test should cover this case.
Message 1 of 1 in “test failed for fetch shallow repo with ref-in-want enabled”
  1. lilinchao@oschina.cnAug 6, 2021

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.