I assume you left this commented out because there is no `git_index_entry_free`-thing inside libgit2?