Get the Index file for this repository.
If a custom index has not been set, the default index for the repository will be returned (the one located in .git/index).
The index must be freed once it's no longer being used by the user.
Pointer to store the loaded index
A repository object
0, or an error code
See Implementation
Get the Index file for this repository.
If a custom index has not been set, the default index for the repository will be returned (the one located in .git/index).
The index must be freed once it's no longer being used by the user.