Re: [PATCH 14/21] builtin/config: convert `do_not_match` to a local variable
On Sat, May 11, 2024 at 5:25 AM Patrick Steinhardt <ps@pks.im> wrote:
> The `do_not_match` variable is used by the `format_config()` callback as
> an indicator whteher or not the passed regular expression is negated. It
> is only ever set up by its only caller, `collect_config()` and can thus
> easily be moved into the `collect_config_data` structure.
> Do so to remove our reliance on global state.
>
> Signed-off-by: Patrick Steinhardt <ps@pks.im>