]> git.ipfire.org Git - thirdparty/git.git/commit - config.c
do not die when error in config parsing of buf occurs
authorHeiko Voigt <hvoigt@hvoigt.net>
Thu, 11 Jul 2013 22:48:30 +0000 (00:48 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 12 Jul 2013 16:34:58 +0000 (09:34 -0700)
commitb2dc09455a9ed5521c2e84fc67d8dacf2c28c39f
treec0fd87bf1b60e12cd4562b52f32a081a5d830bad
parent1bc888193e1044db317a45b9a4c8d2b87b998f40
do not die when error in config parsing of buf occurs

If a config parsing error in a file occurs we can die and let the user
fix the issue. This is different for the buf parsing function since it
can be used to parse blobs of .gitmodules files. If a parsing error
occurs here we should proceed since otherwise a database containing such
an error in a single revision could be rendered unusable.

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