Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jc/maint-1.6.0-diff-borrow-carefully' into maint
[gitweb.git]
/
xdiff
/
xdiffi.c
diff --git
a/xdiff/xdiffi.c
b/xdiff/xdiffi.c
index 9d0324a38c2a1974648e67161fa0ed1b0f811233..3e97462bdd2ed72b4ec60a1eb3869e516609867b 100644
(file)
--- a/
xdiff/xdiffi.c
+++ b/
xdiff/xdiffi.c
@@
-329,6
+329,9
@@
int xdl_do_diff(mmfile_t *mf1, mmfile_t *mf2, xpparam_t const *xpp,
xdalgoenv_t xenv;
diffdata_t dd1, dd2;
+ if (xpp->flags & XDF_PATIENCE_DIFF)
+ return xdl_do_patience_diff(mf1, mf2, xpp, xe);
+
if (xdl_prepare_env(mf1, mf2, xpp, xe) < 0) {
return -1;