git_index_reuc_add

Adds a resolve undo entry for a file based on the given parameters.

The resolve undo entry contains the OIDs of files that were involved in a merge conflict after the conflict has been resolved. This allows conflicts to be re-resolved later.

If there exists a resolve undo entry for the given path in the index, it will be removed.

This method will fail in bare index instances.

@param index an existing index object @param path filename to add @param ancestor_mode mode of the ancestor file @param ancestor_id oid of the ancestor file @param our_mode mode of our file @param our_id oid of our file @param their_mode mode of their file @param their_id oid of their file @return 0 or an error code

package extern (C) nothrow @nogc
int
git_index_reuc_add

Meta