From: Jeff King Date: Fri, 27 Mar 2020 09:37:10 GMT Subject: Re: [RFC PATCH] fetch-pack: lazy fetch using tree:0 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: > > 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 = Yeah, that scheme solves the problem very neatly, and removes any worry I had about painting ourselves into a corner. Thanks. -Peff