builtin/config: convert flags to a local variable
commit35a7cfda56f85c8fccfbf7e8b5bae9a356dd0d45
authorPatrick Steinhardt <ps@pks.im>
Wed, 15 May 2024 06:43:07 +0000 (15 08:43 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 15 May 2024 14:17:56 +0000 (15 07:17 -0700)
tree1e266877c7f46bb9c53892048bea44fbc1de7013
parentab8bac8bb6d89f3b3eca2972ad468ca863c9f492
builtin/config: convert flags to a local variable

Both the `do_all` and `use_key_regexp` bits essentially act like flags
to `get_value()`. Let's convert them to actual flags so that we can get
rid of the last two remaining global variables that track options.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/config.c