Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 264d74f commit 521c0caCopy full SHA for 521c0ca
include/git2/merge.h
@@ -486,6 +486,11 @@ GIT_EXTERN(int) git_merge_commits(
486
* to the index. Callers should inspect the repository's index after this
487
* completes, resolve any conflicts and prepare a commit.
488
*
489
+ * For compatibility with git, the repository is put into a merging
490
+ * state. Once the commit is done (or if the uses wishes to abort),
491
+ * you should clear this state by calling
492
+ * `git_repository_state_cleanup()`.
493
+ *
494
* @param repo the repository to merge
495
* @param their_heads the heads to merge into
496
* @param their_heads_len the number of heads to merge
0 commit comments