]> git.ipfire.org Git - thirdparty/git.git/commit - fsck.c
fsck: optionally ignore specific fsck issues completely
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Mon, 22 Jun 2015 15:26:48 +0000 (17:26 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 23 Jun 2015 21:27:36 +0000 (14:27 -0700)
commitefaba7cc77fb22753675dc1e4f376b61797eca36
treeeecd0ed19beea646b5826fbecede70844046cd37
parentf50c44073051820cd368be4ca520ae43f34fdf8b
fsck: optionally ignore specific fsck issues completely

An fsck issue in a legacy repository might be so common that one would
like not to bother the user with mentioning it at all. With this change,
that is possible by setting the respective message type to "ignore".

This change "abuses" the missingEmail=warn test to verify that "ignore"
is also accepted and works correctly. And while at it, it makes sure
that multiple options work, too (they are passed to unpack-objects or
index-pack as a comma-separated list via the --strict=... command-line
option).

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