summaryrefslogtreecommitdiff
path: root/compat/regex/regex.h
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2024-05-15 08:41:43 +0200
committerJunio C Hamano <gitster@pobox.com>2024-05-15 07:17:52 -0700
commit0336d0055c4a15916fe6fabbe8031efa042412c0 (patch)
treea62e4eb87505fdfb6ce068c0b0ef0318365ac402 /compat/regex/regex.h
parenta577d2f1a93ecfafbedd5a30cc15e4180253f04d (diff)
builtin/config: move legacy mode into its own function
In `cmd_config()` we first try to parse the provided arguments as subcommands and, if this is successful, call the respective functions of that subcommand. Otherwise we continue with the "legacy" mode that uses implicit actions and/or flags. Disentangle this by moving the legacy mode into its own function. This allows us to move the options into the respective functions and clearly separates concerns. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat/regex/regex.h')
0 files changed, 0 insertions, 0 deletions