Add or update index entries to represent a conflict. Any staged entries that exist at the given paths will be removed.
The entries are the entries from the tree included in the merge. Any entry may be null to indicate that that file was not present in the trees during the merge. For example, ancestor_entry may be NULL to indicate that a file was added in both branches and must be resolved.
0 or an error code