From: Junio C Hamano Date: Thu, 02 Apr 2026 15:50:41 GMT Subject: Re: [PATCH v2 08/12] skip_prefix(): check const match between in and out params Message-ID: In-Reply-To: <20260402060119.GA3504521@coredump.intra.peff.net> Jeff King writes: > On Wed, Apr 01, 2026 at 10:11:45PM -0700, Junio C Hamano wrote: > >> Jeff King writes: >> >> > +/* >> > + * Check that an out-parameter that is "at least as const as" a matching >> > + * in-parameter. For example, skip_prefix() will return "out" that is a subset >> > + * of "str". So: >> >> Sorry for not mentioning earlier, but I couldn't quite parse the >> above with "that" immediately after "out-parameter". I am guessing >> that you wanted to say an equivalent of >> >> Check that an out-parameter "out" is at least as const as a >> matching in-parameter "in". > > Yes, it's just a typo. What you wrote is what I meant. Can you fix it up > while applying? Will do. Thanks.