]> git.ipfire.org Git - thirdparty/git.git/commit
builtin/config: move actions into `cmd_config_actions()`
authorPatrick Steinhardt <ps@pks.im>
Wed, 15 May 2024 06:41:57 +0000 (08:41 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 15 May 2024 14:17:52 +0000 (07:17 -0700)
commit9cab5e8078c314957395ddb4c198c3320c4e5a91
tree1afdb6e56fba7cb3251052fb20bc7c183d90ad93
parent7d5387e26348ebb517fbe3880a4299e2c23d4bff
builtin/config: move actions into `cmd_config_actions()`

We only use actions in the legacy mode. Convert them to an enum and move
them into `cmd_config_actions()` to clearly demonstrate that they are
not used anywhere else.

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