summaryrefslogtreecommitdiff
path: root/include/git2/merge.h
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@github.com>2016-02-08 17:55:22 -0800
committerEdward Thomson <ethomson@github.com>2016-02-08 17:56:41 -0800
commitb00c959f45bfa8e2bb27bec0cfebc4bad5f70df2 (patch)
treeba4871e00298717e7884eaa692fbaae69c908495 /include/git2/merge.h
parent7cdbb39e0a92d08d8c4edd827aeed81ffc74f1a4 (diff)
downloadlibgit2-b00c959f45bfa8e2bb27bec0cfebc4bad5f70df2.tar.gz
Better document `git_merge_commits` redux
`git_merge_commits` and `git_merge` now *do* handle recursive base building for criss-cross merges. Remove the documentation that says that they do not. This reverts commit 5e44d9bcb6d5b20922f49b1913723186f8ced8b5.
Diffstat (limited to 'include/git2/merge.h')
-rw-r--r--include/git2/merge.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/git2/merge.h b/include/git2/merge.h
index af53ead22..560797a0c 100644
--- a/include/git2/merge.h
+++ b/include/git2/merge.h
@@ -527,10 +527,6 @@ GIT_EXTERN(int) git_merge_trees(
* or checked out. If the index is to be converted to a tree, the caller
* should resolve any conflicts that arose as part of the merge.
*
- * The merge performed uses the first common ancestor, unlike the
- * `git-merge-recursive` strategy, which may produce an artificial common
- * ancestor tree when there are multiple ancestors.
- *
* The returned index must be freed explicitly with `git_index_free`.
*
* @param out pointer to store the index result in
@@ -553,10 +549,6 @@ GIT_EXTERN(int) git_merge_commits(
* to the index. Callers should inspect the repository's index after this
* completes, resolve any conflicts and prepare a commit.
*
- * The merge performed uses the first common ancestor, unlike the
- * `git-merge-recursive` strategy, which may produce an artificial common
- * ancestor tree when there are multiple ancestors.
- *
* For compatibility with git, the repository is put into a merging
* state. Once the commit is done (or if the uses wishes to abort),
* you should clear this state by calling