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

1 messages from 2021-08-06 to 2021-08-06. Participants: lilinchao@oschina.cn.
Thread: https://gitlist.dev/t/56224

## lilinchao@oschina.cn, 2021-08-06 03:06

Subject: test failed for fetch shallow repo with ref-in-want enabled
Message-ID: <547b1164f66311eb96320026b95c99cc@oschina.cn>
URL: https://gitlist.dev/e/547b1164f66311eb96320026b95c99cc%40oschina.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.
```
