Commit 1a8990082aeeb1fbf6028d7c2b480f3086c87307

Patrick Wang 2020-05-26T20:36:13

tests: index::version: write v4 index: re-open repo to read written v4 index The `git_index_free()` merely decrement the reference counter from 2 to 1, and does not "free" the index. Thus, the following `git_repository_index()` merely increase the counter to 2, instead of read index from disk. The written index is not read and parsed, which makes this test case effectively becomes a no-op.