fsck: support ignoring objects in `git fsck` via fsck.skiplist
commit1335f732892601368876e0e41c9ea288c2ab18f3
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Mon, 22 Jun 2015 15:27:23 +0000 (22 17:27 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 23 Jun 2015 21:27:37 +0000 (23 14:27 -0700)
treea6672a458f7a39c7333273e1b336862291be9d3c
parentcd94c6f91ee92ffb0592696170fa84f426b839ab
fsck: support ignoring objects in `git fsck` via fsck.skiplist

Identical to support in `git receive-pack for the config option
`receive.fsck.skiplist`, we now support ignoring given objects in
`git fsck` via `fsck.skiplist` altogether.

This is extremely handy in case of legacy repositories where it would
cause more pain to change incorrect objects than to live with them
(e.g. a duplicate 'author' line in an early commit object).

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/config.txt
builtin/fsck.c