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>
This commit is contained in:

committed by
Junio C Hamano

parent
412aff7b33
commit
135cc712c3
@ -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;
|
||||
|
Reference in New Issue
Block a user