Re: [PATCH 2/4] list-objects-filter: handle null default filter spec
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Sep 12, 2022, 16:56 UTC
- Message-ID
- <xmqqo7vkfs58.fsf@gitster.g>
- In-Reply-To
- <Yx1rfYtQAlZGfAak@coredump.intra.peff.net>
Jeff King <peff@peff.net> writes:
> But it's probably worth avoiding this confused state. It's an accident > waiting to happen, and it will be a problem if we replace the lazy > initialization from 7e2619d8ff (list_objects_filter_options: plug leak > of filter_spec strings, 2022-09-08) with a real initialization function.
True. Thanks for a careful analysis.