diff options
| author | Patrick Steinhardt <ps@pks.im> | 2024-05-15 08:42:44 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-05-15 07:17:55 -0700 |
| commit | bfe45f83e7a7815cbaea04f380cd807c18c088ea (patch) | |
| tree | ca4880d3b0c32cac1b812862af0c2726d585a29f /t/helper/test-regex.c | |
| parent | 65d197cffc7ad52c61398c2579efa988779cc7ab (diff) | |
builtin/config: convert `value_pattern` to a local variable
The `value_pattern` variable is used by the `format_config()` callback
when `CONFIG_FLAGS_FIXED_VALUE` is used. 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>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/helper/test-regex.c')
0 files changed, 0 insertions, 0 deletions
