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.
An existing index object
A combination of GIT_INDEX_CAPABILITY values
0 on success, -1 on failure
See Implementation
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.