From: Øystein Walle Date: Thu, 16 Nov 2023 12:06:27 GMT Subject: Re: [PATCH v2 02/10] ref-filter.h: add max_count and omit_empty to ref_format Message-ID: <20231116120627.3029-1-oystwa@gmail.com> In-Reply-To: Victoria Dye writes: > diff --git a/ref-filter.h b/ref-filter.h > index 1524bc463a5..d87d61238b7 100644 > --- a/ref-filter.h > +++ b/ref-filter.h > @@ -92,6 +92,11 @@ struct ref_format { > > /* List of bases for ahead-behind counts. */ > struct string_list bases; > + > + struct { > + int max_count; > + int omit_empty; > + } array_opts; > }; What the benefit of having them in a nested struct is compared to just two distinct members? Regardless this is the kind of deduplication I wanted to achieve when I added --omit-empty, but never did. Either way, I meant to ack this in the last round never got around to it. Nice work. Acked-by: Øystein Walle Øsse