summaryrefslogtreecommitdiff
path: root/include/git2
diff options
context:
space:
mode:
Diffstat (limited to 'include/git2')
-rw-r--r--include/git2/rebase.h12
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