l10n: git.pot: v2.19.0 round 2 (3 new, 5 removed)
[git/raj.git] / ll-merge.h
blobb72b19921e8f33ab23aa5bb6293b9b6841035df9
1 /*
2 * Low level 3-way in-core file merge.
3 */
5 #ifndef LL_MERGE_H
6 #define LL_MERGE_H
8 #include "xdiff/xdiff.h"
10 struct ll_merge_options {
11 unsigned virtual_ancestor : 1;
12 unsigned variant : 2; /* favor ours, favor theirs, or union merge */
13 unsigned renormalize : 1;
14 long xdl_opts;
17 int ll_merge(mmbuffer_t *result_buf,
18 const char *path,
19 mmfile_t *ancestor, const char *ancestor_label,
20 mmfile_t *ours, const char *our_label,
21 mmfile_t *theirs, const char *their_label,
22 const struct ll_merge_options *opts);
24 int ll_merge_marker_size(const char *path);
26 #endif