Re: [PATCH] fetch, clone: add fetch.blobSizeLimit config
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Mar 3, 2026, 17:58 UTC
- Message-ID
- <xmqqtsuwdccu.fsf@gitster.g>
- In-Reply-To
- <aab5iICOAMrH2aQZ@pks.im>
Patrick Steinhardt <ps@pks.im> writes:
Show 5 quoted lines
> I think using something like "clone.<url>.defaultObjectFilter" would be > a more sensible design. The idea is that we'd only honor this filter on > the initial clone to basically be equivalent to `git clone --filter=`. I > don't think any subsequent fetches should be impacted at all, as turning > a full clone into a partial clone would need more consideration.
Yup, I like this one. Should <url> be giving a repository fully, or be some pattern that groups similar repositories together? You would not be wanting to clone exactly the same repository so many times for a configuration variable to matter in general.