From: Abhradeep Chakraborty Date: Tue, 15 Mar 2022 15:15:45 GMT Subject: Re: [PATCH] partial-clone: add a partial-clone test case Message-ID: <20220315151545.62125-1-chakrabortyabhradeep79@gmail.com> In-Reply-To: <4d78dece-1212-5232-a441-683e941016c5@github.com> Derrick Stolee wrote: > 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 :)