summaryrefslogtreecommitdiff
path: root/include/git2/rebase.h
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2014-07-18 17:19:10 -0400
committerEdward Thomson <ethomson@microsoft.com>2014-10-26 22:59:25 -0400
commit517644cce4df8ac9ea40669dd22574d6dc76c02f (patch)
tree42b7db6d75da4dd1ccc6cee45c670bf47504d0b4 /include/git2/rebase.h
parent14864fbfebfd3eb949790f302cfd872f1c0cc214 (diff)
downloadlibgit2-517644cce4df8ac9ea40669dd22574d6dc76c02f.tar.gz
Introduce git_rebase_finish to complete a rebase
Diffstat (limited to 'include/git2/rebase.h')
-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