aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/help.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2024-11-20 14:39:43 +0100
committerJunio C Hamano <gitster@pobox.com>2024-11-21 08:23:44 +0900
commit94aa96cd590c7da5103c61795e34de4d3ae2849e (patch)
tree0c080aa9f9f6677389f389534e28a6e1b715119d /builtin/help.c
parentbuiltin/sparse-checkout: fix leaking sanitized patterns (diff)
downloadgit-94aa96cd590c7da5103c61795e34de4d3ae2849e.tar.gz
git-94aa96cd590c7da5103c61795e34de4d3ae2849e.zip
help: refactor to not use globals for reading config
We're reading the "help.autocorrect" and "alias.*" configuration into global variables, which makes it hard to manage their lifetime correctly. Refactor the code to use a struct instead. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/help.c')
0 files changed, 0 insertions, 0 deletions