Re: Partial Clone garbage collection?
- From
Jeff King <peff@peff.net>
- Date
- Oct 30, 2019, 20:38 UTC
- Message-ID
- <20191030203833.GD29013@sigill.intra.peff.net>
- In-Reply-To
- <43646191572459422@myt3-4825096bdc88.qloud-c.yandex.net>
On Wed, Oct 30, 2019 at 09:17:02PM +0300, без имени wrote:
Show 6 quoted lines
> > Are there any plans to add a --filter parameter to git gc as well, > > that would be able to prune past history of objects and convert them > > back into pack promises? > > This operation will change the hash, and hence the history. I tried to > draw attention to a specific trick:
I don't think this is quite the same thing. Simon is just talking about the partial-clone system. The files are still mentioned in history, but the client does not store the matching blobs themselves. Instead, it can fetch them on-demand from a remote repository.
-Peff