Re: [PATCH] fsck: check skiplist for object in fsck_blob()
From: Jeff King <hidden>
Date: 2018-07-13 19:41:23
From: Jeff King <hidden>
Date: 2018-07-13 19:41:23
On Fri, Jul 13, 2018 at 08:37:46PM +0100, Ramsay Jones wrote:
OK, so I found some time to test this tonight. It is not good news (assuming that I haven't messed up the testing, of course). :(
I think you may have. :)
not ok 18 - push rejects corrupt .gitmodules (policy) # # rm -rf dst.git && # git init --bare dst.git && # git -C dst.git config transfer.fsckObjects true && # git -C dst.git config fsck.gitmodulesParse error && # test_must_fail git -C corrupt push ../dst.git HEAD 2>output && # grep gitmodulesParse output && # test_i18ngrep ! "bad config" output
There are separate config slots for local fsck versus receiving objects. So I think you need to be setting receive.fsck.gitmodulesParse. -Peff