summaryrefslogtreecommitdiff
path: root/merge-recursive.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-04-15 22:51:14 -0700
committerJunio C Hamano <gitster@pobox.com>2012-04-15 22:51:15 -0700
commit86c340e08287c0faad8871207787e5819f22a7d5 (patch)
treeee05a1f8d8fdf038e385de68ecc107793c123eb5 /merge-recursive.c
parent9eefd8ae8a955f470d931c13b8711d98f4e9d56e (diff)
parent307ab20b333d9b4c818b1ff912e86944d1a3fdc1 (diff)
downloadgit-86c340e08287c0faad8871207787e5819f22a7d5.tar.gz
Merge branch 'jc/diff-algo-cleanup'
Resurrects the preparatory clean-up patches from another topic that was discarded, as this would give a saner foundation to build on diff.algo configuration option series. * jc/diff-algo-cleanup: xdiff: PATIENCE/HISTOGRAM are not independent option bits xdiff: remove XDL_PATCH_* macros
Diffstat (limited to 'merge-recursive.c')
-rw-r--r--merge-recursive.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/merge-recursive.c b/merge-recursive.c
index 6479a60cd1..857f03dc61 100644
--- a/merge-recursive.c
+++ b/merge-recursive.c
@@ -2068,9 +2068,9 @@ int parse_merge_opt(struct merge_options *o, const char *s)
else if (!prefixcmp(s, "subtree="))
o->subtree_shift = s + strlen("subtree=");
else if (!strcmp(s, "patience"))
- o->xdl_opts |= XDF_PATIENCE_DIFF;
+ o->xdl_opts = DIFF_WITH_ALG(o, PATIENCE_DIFF);
else if (!strcmp(s, "histogram"))
- o->xdl_opts |= XDF_HISTOGRAM_DIFF;
+ o->xdl_opts = DIFF_WITH_ALG(o, HISTOGRAM_DIFF);
else if (!strcmp(s, "ignore-space-change"))
o->xdl_opts |= XDF_IGNORE_WHITESPACE_CHANGE;
else if (!strcmp(s, "ignore-all-space"))