From: Patrick Steinhardt Date: Mon, 23 Feb 2026 10:48:09 GMT Subject: Re: [PATCH 08/17] refs: generalize `refs_for_each_namespaced_ref()` Message-ID: In-Reply-To: On Mon, Feb 23, 2026 at 01:02:56AM -0800, Karthik Nayak wrote: > Patrick Steinhardt writes: > > diff --git a/refs.h b/refs.h > > index a66dbf3865..2bde60aa0e 100644 > > --- a/refs.h > > +++ b/refs.h > > @@ -468,6 +468,12 @@ struct refs_for_each_ref_options { > > */ > > const char *pattern; > > > > + /* > > + * If set, only yield refs part of the configured namespace. Exclude > > + * patterns will be rewritten to apply to the namespace. > > + */ > > + const char *namespace; > > Nit: should we also mention how prefix is appended to namespace? Yeah, makes sense, will do. Patrick