diff options
Diffstat (limited to 'include/git2/index.h')
-rw-r--r-- | include/git2/index.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/git2/index.h b/include/git2/index.h index da95ee9bd..3d4bd15a8 100644 --- a/include/git2/index.h +++ b/include/git2/index.h @@ -564,6 +564,14 @@ GIT_EXTERN(int) git_index_reuc_add(git_index *index, const char *path, */ GIT_EXTERN(int) git_index_reuc_remove(git_index *index, size_t n); +/** + * Remove all resolve undo entries from the index + * + * @param index an existing index object + * @return 0 or an error code + */ +GIT_EXTERN(void) git_index_reuc_clear(git_index *index); + /**@}*/ /** @} */ |