libgit2

git_index_conflict_cleanup

Version:

Remove all conflicts in the index (entries with a stage greater than 0).

Signature

int git_index_conflict_cleanup(git_index *index);

Parameters

In
index

an existing index object

Returns

int

0 or an error code

Versions