Set index on-disk version.
Valid values are 2, 3, or 4. If 2 is given, git_index_write may write an index with version 3 instead, if necessary to accurately represent the index.
@param index An existing index object @param version_ The new version number @return 0 on success, -1 on failure
See Implementation
Set index on-disk version.
Valid values are 2, 3, or 4. If 2 is given, git_index_write may write an index with version 3 instead, if necessary to accurately represent the index.
@param index An existing index object @param version_ The new version number @return 0 on success, -1 on failure