]> git.ipfire.org Git - thirdparty/git.git/commit - fsck.c
fsck: disallow demoting grave fsck errors to warnings
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Mon, 22 Jun 2015 15:26:42 +0000 (17:26 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 23 Jun 2015 21:27:36 +0000 (14:27 -0700)
commitf50c44073051820cd368be4ca520ae43f34fdf8b
tree6014b05cb8c796451fb8a5e5dac59dedeb3c86bf
parent70a4ae73d8a6d8d0ce86d746a20bb243d83d28e3
fsck: disallow demoting grave fsck errors to warnings

Some kinds of errors are intrinsically unrecoverable (e.g. errors while
uncompressing objects). It does not make sense to allow demoting them to
mere warnings.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
fsck.c
t/t5504-fetch-receive-strict.sh