]> git.ipfire.org Git - thirdparty/git.git/commit - config.c
config: add CONFIG_ERROR_SILENT handler
authorJeff King <peff@peff.net>
Thu, 28 Jun 2018 22:05:09 +0000 (18:05 -0400)
committerJunio C Hamano <gitster@pobox.com>
Tue, 3 Jul 2018 16:35:12 +0000 (09:35 -0700)
commit63583203df51c645aa2bf2988bbdfa3d308ef517
tree4dc97a476030c3b5e5bb75d167b641f87a0ab255
parent66f9722882993f60be656afaae4c5c9ac92957e9
config: add CONFIG_ERROR_SILENT handler

We can currently die() or error(), but there's not yet any
way for callers to ask us just to quietly return an error.
Let's give them one.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
config.c
config.h