libgit2

git_index_conflict_remove

Version:

Removes the index entries that represent a conflict of a single file.

Signature

int git_index_conflict_remove(git_index *index, const char *path);

Parameters

In
index

an existing index object

const char *
In
path

path to remove conflicts for

Returns

int

0 or an error code

Versions