-
Jérome Perrin authored
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.
e526130b