Re: [PATCH] partial-clone: add a partial-clone test case
Derrick Stolee <derrickstolee@github.com> wrote:
Show 12 quoted lines
> Ah! This method really should have worked. And the test as written
> is not testing the right thing, because we also skip downloading the
> blobs if we already have them.
>
> I think the key issue is that your clone says this:
>
> + git clone --filter=blob:none "file://$(pwd)/repo" partial.git &&
>
> which will do a checkout and download the blobs at tip.
>
> If you add a "--bare" to this clone command, then no blobs should be
> downloaded, and your rev-list command should show the missing objects.
Thanks Derrick! Let my try it.
Thanks :)