1 #ifndef MERGE_ORT_WRAPPERS_H
2 #define MERGE_ORT_WRAPPERS_H
7 * rename-detecting three-way merge, no recursion.
8 * Wrapper mimicking the old merge_trees() function.
10 int merge_ort_nonrecursive(struct merge_options
*opt
,
16 * rename-detecting three-way merge with recursive ancestor consolidation.
17 * Wrapper mimicking the old merge_recursive() function.
19 int merge_ort_recursive(struct merge_options
*opt
,
22 const struct commit_list
*ancestors
,
23 struct commit
**result
);
26 * rename-detecting three-way merge. num_merge_bases must be at least 1.
27 * Recursive ancestor consolidation will be performed if num_merge_bases > 1.
28 * Wrapper mimicking the old merge_recursive_generic() function.
30 int merge_ort_generic(struct merge_options
*opt
,
31 const struct object_id
*head
,
32 const struct object_id
*merge
,
34 const struct object_id
*merge_bases
,
35 struct commit
**result
);