aboutsummaryrefslogtreecommitdiffstats
path: root/merge-ort.c
diff options
context:
space:
mode:
authorPhillip Wood <phillip.wood@dunelm.org.uk>2024-03-14 17:05:05 +0000
committerJunio C Hamano <gitster@pobox.com>2024-03-14 10:08:52 -0700
commit135cc712c39fa7ccf25b9b2b55d1d07fc85c85a4 (patch)
tree5a70d7731d848657bf9f8e0cc133effd0f14b297 /merge-ort.c
parent412aff7b3379b182e3331ec66c0657ae4e39d576 (diff)
downloadgit-135cc712c39fa7ccf25b9b2b55d1d07fc85c85a4.tar.gz
merge options: add a conflict style member
Add a conflict_style member to `struct merge_options` and `struct ll_merge_options` to allow callers to override the default conflict style. This will be used in the next commit. Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'merge-ort.c')
-rw-r--r--merge-ort.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/merge-ort.c b/merge-ort.c
index 4a02c3ecd9..a9ab403145 100644
--- a/merge-ort.c
+++ b/merge-ort.c
@@ -1966,6 +1966,7 @@ static int merge_3way(struct merge_options *opt,
ll_opts.renormalize = opt->renormalize;
ll_opts.extra_marker_size = extra_marker_size;
ll_opts.xdl_opts = opt->xdl_opts;
+ ll_opts.conflict_style = opt->conflict_style;
if (opt->priv->call_depth) {
ll_opts.virtual_ancestor = 1;