]> git.ipfire.org Git - thirdparty/git.git/commit - config.c
config API: use get_error_routine(), not vreportf()
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Tue, 7 Dec 2021 18:26:34 +0000 (19:26 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 7 Dec 2021 21:25:16 +0000 (13:25 -0800)
commitf5c39c3268107e1f3def70709d509fd24282832c
treef55dcb418820375d5548d7215744fbac6e1cfe72
parent24f6e6d626b0125f741880918fb3b9b85f607a79
config API: use get_error_routine(), not vreportf()

Change the git_die_config() function added in 5a80e97c827 (config: add
`git_die_config()` to the config-set API, 2014-08-07) to use the
public callbacks in the usage.[ch] API instead of the the underlying
vreportf() function.

In preceding commits the rest of the vreportf() users outside of
usage.c was migrated to die_message(), so we can now make it "static".

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
config.c
git-compat-util.h
usage.c