summaryrefslogtreecommitdiff
path: root/src/merge_file.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/merge_file.c')
-rw-r--r--src/merge_file.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/merge_file.c b/src/merge_file.c
index 8bb003fe3..6d89b089d 100644
--- a/src/merge_file.c
+++ b/src/merge_file.c
@@ -158,6 +158,12 @@ static int git_merge_file__from_inputs(
if (options.flags & GIT_MERGE_FILE_IGNORE_WHITESPACE_EOL)
xmparam.xpp.flags |= XDF_IGNORE_WHITESPACE_AT_EOL;
+ if (options.flags & GIT_MERGE_FILE_DIFF_PATIENCE)
+ xmparam.xpp.flags |= XDF_PATIENCE_DIFF;
+
+ if (options.flags & GIT_MERGE_FILE_DIFF_MINIMAL)
+ xmparam.xpp.flags |= XDF_NEED_MINIMAL;
+
if ((xdl_result = xdl_merge(&ancestor_mmfile, &our_mmfile,
&their_mmfile, &xmparam, &mmbuffer)) < 0) {
giterr_set(GITERR_MERGE, "Failed to merge files.");