summaryrefslogtreecommitdiff
path: root/ll-merge.h
diff options
context:
space:
mode:
Diffstat (limited to 'll-merge.h')
-rw-r--r--ll-merge.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/ll-merge.h b/ll-merge.h
index 57889227b1..244a31f55a 100644
--- a/ll-merge.h
+++ b/ll-merge.h
@@ -5,12 +5,19 @@
#ifndef LL_MERGE_H
#define LL_MERGE_H
+struct ll_merge_options {
+ unsigned virtual_ancestor : 1;
+ unsigned variant : 2; /* favor ours, favor theirs, or union merge */
+ unsigned renormalize : 1;
+ long xdl_opts;
+};
+
int ll_merge(mmbuffer_t *result_buf,
const char *path,
- mmfile_t *ancestor,
+ mmfile_t *ancestor, const char *ancestor_label,
mmfile_t *ours, const char *our_label,
mmfile_t *theirs, const char *their_label,
- int flag);
+ const struct ll_merge_options *opts);
int ll_merge_marker_size(const char *path);