summaryrefslogtreecommitdiff
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2023-02-26 17:40:46 -0500
committerJunio C Hamano <gitster@pobox.com>2023-02-27 08:00:39 -0800
commitcc5d1d32fd489f7eb98f762de303b499f2117638 (patch)
tree71feb3b50d2969aeff55c0b460350fad29b9b43e /builtin/commit.c
parentfd2d4c135ed974fdddf2af687748d28c58575984 (diff)
drop pure pass-through config callbacks
Commit fd2d4c135e (gpg-interface: lazily initialize and read the configuration, 2023-02-09) shrunk a few custom config callbacks so that they are just one-liners of: return git_default_config(...); We can drop them entirely and replace them direct calls of git_default_config() intead. This makes the code a little shorter and easier to understand (with the downside being that if they do grow custom options again later, we'll have to recreate the functions). Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions