drop pure pass-through config callbacks
commitcc5d1d32fd489f7eb98f762de303b499f2117638
authorJeff King <peff@peff.net>
Sun, 26 Feb 2023 22:40:46 +0000 (26 17:40 -0500)
committerJunio C Hamano <gitster@pobox.com>
Mon, 27 Feb 2023 16:00:39 +0000 (27 08:00 -0800)
tree71feb3b50d2969aeff55c0b460350fad29b9b43e
parentfd2d4c135ed974fdddf2af687748d28c58575984
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>
builtin/am.c
builtin/commit-tree.c
builtin/verify-commit.c
builtin/verify-tag.c