summaryrefslogtreecommitdiff
path: root/t/t0202
diff options
context:
space:
mode:
authorLibravatar Johannes Schindelin <johannes.schindelin@gmx.de>2015-06-22 17:27:06 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-06-23 14:27:36 -0700
commit2becf00ff70b324999d0e3046d828a80884ab561 (patch)
tree55276fe5b8c96bf4e7c4b641b2748a74a6672318 /t/t0202
parentfsck: document the new receive.fsck.<msg-id> options (diff)
downloadtgif-2becf00ff70b324999d0e3046d828a80884ab561.tar.xz
fsck: support demoting errors to warnings
We already have support in `git receive-pack` to deal with some legacy repositories which have non-fatal issues. Let's make `git fsck` itself useful with such repositories, too, by allowing users to ignore known issues, or at least demote those issues to mere warnings. Example: `git -c fsck.missingEmail=ignore fsck` would hide problems with missing emails in author, committer and tagger lines. In the same spirit that `git receive-pack`'s usage of the fsck machinery differs from `git fsck`'s – some of the non-fatal warnings in `git fsck` are fatal with `git receive-pack` when receive.fsckObjects = true, for example – we strictly separate the fsck.<msg-id> from the receive.fsck.<msg-id> settings. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t0202')
0 files changed, 0 insertions, 0 deletions