summaryrefslogtreecommitdiffstats
path: root/t/t4018/cpp-function-returning-pointer
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 /t/t4018/cpp-function-returning-pointer
parenta577d2f1a93ecfafbedd5a30cc15e4180253f04d (diff)
downloadgit-0336d0055c4a15916fe6fabbe8031efa042412c0.tar.gz
git-0336d0055c4a15916fe6fabbe8031efa042412c0.zip
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 't/t4018/cpp-function-returning-pointer')
0 files changed, 0 insertions, 0 deletions