If you pass git_index_capability_t.GIT_INDEX_CAPABILITY_FROM_OWNER for the caps, then
capabilities will be read from the config of the owner object,
looking at core.ignorecase, core.filemode, core.symlinks.
@param index An existing index object
@param caps A combination of GIT_INDEX_CAPABILITY values
@return 0 on success, -1 on failure
Set index capabilities flags.
If you pass git_index_capability_t.GIT_INDEX_CAPABILITY_FROM_OWNER for the caps, then capabilities will be read from the config of the owner object, looking at core.ignorecase, core.filemode, core.symlinks.
@param index An existing index object @param caps A combination of GIT_INDEX_CAPABILITY values @return 0 on success, -1 on failure