Re: [RFC PATCH] fetch-pack: lazy fetch using tree:0
- From
Jeff King <peff@peff.net>
- Date
- Mar 27, 2020, 09:37 UTC
- Message-ID
- <20200327093710.GA611304@coredump.intra.peff.net>
- In-Reply-To
- <20200326195058.GA8613@syl.local>
On Thu, Mar 26, 2020 at 01:50:58PM -0600, Taylor Blau wrote:
Show 9 quoted lines
> > One side note (for Taylor, cc'd): our patches elsewhere to limit the > > allowed filters don't make it possible to express the difference between > > "tree:0" and "tree:1". It may be worth thinking about that, especially > > if it influences the config schema (since we'll have to support it > > forever once it makes it into a release). > [...] > [uploadpack "filter.tree:depth"] > allow = true > maxDepth = <n>
Yeah, that scheme solves the problem very neatly, and removes any worry I had about painting ourselves into a corner. Thanks.
-Peff