diff options
author | Edward Thomson <ethomson@microsoft.com> | 2013-03-04 17:40:48 -0600 |
---|---|---|
committer | Edward Thomson <ethomson@microsoft.com> | 2013-03-04 18:10:57 -0600 |
commit | 5bddabcca580377e50e4844544b0d969ea248683 (patch) | |
tree | 65f139198d6f3fc4e1785b0d84d9298e06fbf2f2 /include/git2/index.h | |
parent | 323bb88514347ebb7a1d760490384b305f4f4d92 (diff) | |
download | libgit2-5bddabcca580377e50e4844544b0d969ea248683.tar.gz |
clear REUC on checkout
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); + /**@}*/ /** @} */ |