]> git.ipfire.org Git - thirdparty/git.git/commit - fsck.c
fsck: report the ID of the error/warning
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Mon, 22 Jun 2015 15:25:52 +0000 (17:25 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 23 Jun 2015 21:27:35 +0000 (14:27 -0700)
commit71ab8fa840fcca4b4f80acba6a529e3cbc174b65
tree1d55b99408581d28068c89433e6b72f4b7a57fda
parent5d477a334a68698709f07ebda4999c10997ef6f7
fsck: report the ID of the error/warning

Some repositories written by legacy code have objects with non-fatal
fsck issues. To allow the user to ignore those issues, let's print
out the ID (e.g. when encountering "missingEmail", the user might
want to call `git config --add receive.fsck.missingEmail=warn`).

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