threads / discuss / 56224

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

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

## tl;dr

One message between Aug 6, 2021 and Aug 6, 2021.

replies: 0people: 1as markdown or json

lilinchao@oschina.cn· Aug 6, 2021, 03:06 UTC · lore
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.

← back to recent threads