diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2014-07-18 17:19:10 -0400 |
---|---|---|
committer | Edward Thomson <ethomson@microsoft.com> | 2014-10-26 22:59:25 -0400 |
commit | 517644cce4df8ac9ea40669dd22574d6dc76c02f (patch) | |
tree | 42b7db6d75da4dd1ccc6cee45c670bf47504d0b4 /include/git2/rebase.h | |
parent | 14864fbfebfd3eb949790f302cfd872f1c0cc214 (diff) | |
download | libgit2-517644cce4df8ac9ea40669dd22574d6dc76c02f.tar.gz |
Introduce git_rebase_finish to complete a rebase
Diffstat (limited to 'include/git2/rebase.h')
-rw-r--r-- | include/git2/rebase.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/git2/rebase.h b/include/git2/rebase.h index 32b4ff614..e123ae506 100644 --- a/include/git2/rebase.h +++ b/include/git2/rebase.h @@ -124,6 +124,18 @@ GIT_EXTERN(int) git_rebase_abort( git_repository *repo, const git_signature *signature); +/** + * Finishes a rebase that is currently in progress once all patches have + * been applied. + * + * @param repo The repository with the in-progress rebase + * @param signature The identity that is finishing the rebase + * @param Zero on success; -1 on error + */ +GIT_EXTERN(int) git_rebase_finish( + git_repository *repo, + const git_signature *signature); + /** @} */ GIT_END_DECL #endif |