diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2015-06-22 17:26:11 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-06-23 14:27:35 -0700 |
commit | b3584761eb7284263e702088d71cc6f094fbb926 (patch) | |
tree | bfced37c75d99760e9532d31ca1fa4d9d9509a98 /t/t5100/msg0008 | |
parent | fsck: make fsck_ident() warn-friendly (diff) | |
download | tgif-b3584761eb7284263e702088d71cc6f094fbb926.tar.xz |
fsck: make fsck_commit() warn-friendly
When fsck_commit() identifies a problem with the commit, it should try
to make it possible to continue checking the commit object, in case the
user wants to demote the detected errors to mere warnings.
Note that some problems are too problematic to simply ignore. For
example, when the header lines are mixed up, we punt after encountering
an incorrect line. Therefore, demoting certain warnings to errors can
hide other problems. Example: demoting the missingauthor error to
a warning would hide a problematic committer line.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5100/msg0008')
0 files changed, 0 insertions, 0 deletions