Skip to content
Commit e526130b authored by Jérome Perrin's avatar Jérome Perrin
Browse files

testnode: fix flaky test_05f_ResetCorruptedRepository

instead of randomly truncating the existing file, which sometimes does
not cause an invalid index, create an invalid index from scratch.

I used this blog post
https://mincong.io/2018/04/28/git-index/#2-inside-gitindex for a
description of the index format.
parent c366e0eb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment