builtin/config: move legacy options into `cmd_config()`
commit7d5387e26348ebb517fbe3880a4299e2c23d4bff
authorPatrick Steinhardt <ps@pks.im>
Wed, 15 May 2024 06:41:52 +0000 (15 08:41 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 15 May 2024 14:17:52 +0000 (15 07:17 -0700)
tree97a0ee224197d4f4f3668485d3d6f4153d9a1e76
parent8b908f9dcf0b76345f1c17303ab55aa55e924d92
builtin/config: move legacy options into `cmd_config()`

Move the legacy options as well some of the variables it references into
`cmd_config_action()`. This reduces our reliance on global state.

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