]> git.ipfire.org Git - thirdparty/git.git/commit - fsck.c
fsck: allow upgrading fsck warnings to errors
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Mon, 22 Jun 2015 15:26:54 +0000 (17:26 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 23 Jun 2015 21:27:36 +0000 (14:27 -0700)
commitf27d05b17041d6e5c8cedced682709b2f1007ecc
tree3b0f48a0063c73b6c4c58ff2b20e7342772c4888
parentefaba7cc77fb22753675dc1e4f376b61797eca36
fsck: allow upgrading fsck warnings to errors

The 'invalid tag name' and 'missing tagger entry' warnings can now be
upgraded to errors by specifying `invalidTagName` and
`missingTaggerEntry` in the receive.fsck.<msg-id> config setting.

Incidentally, the missing tagger warning is now really shown as a warning
(as opposed to being reported with the "error:" prefix, as it used to be
the case before this commit).

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
fsck.c
t/t5302-pack-index.sh