]> git.ipfire.org Git - thirdparty/git.git/commit
config: inline git_color_default_config
authorGlen Choo <chooglen@google.com>
Wed, 28 Jun 2023 19:26:20 +0000 (19:26 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 28 Jun 2023 21:06:38 +0000 (14:06 -0700)
commit97eeeea2dc069a1fcb03db99ef3810ebe3056188
tree44d42f1a7533469948e7d5f181a34198ef109123
parent6ff334181cfb6485d3ba50843038209a2a253907
config: inline git_color_default_config

git_color_default_config() is a shorthand for calling two other config
callbacks. There are no other non-static functions that do this and it
will complicate our refactoring of config_fn_t so inline it instead.

Signed-off-by: Glen Choo <chooglen@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/add.c
builtin/branch.c
builtin/clean.c
builtin/grep.c
builtin/show-branch.c
builtin/tag.c
color.c
color.h