diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-05-11 22:19:27 +0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-05-11 22:19:27 +0400 |
commit | 8daff716ad6caee55e04e5550137cd3bd83b9822 (patch) | |
tree | c265e6d3c6a05ce2f72b6058958f4fac14d79731 /diff.c | |
parent | 07e74b0da2896ffa6acb5c33f56d7266b35b7ac9 (diff) | |
parent | 307ab20b333d9b4c818b1ff912e86944d1a3fdc1 (diff) |
Merge branch 'jc/diff-algo-cleanup' into maint
* jc/diff-algo-cleanup:
xdiff: PATIENCE/HISTOGRAM are not independent option bits
xdiff: remove XDL_PATCH_* macros
Diffstat (limited to 'diff.c')
-rw-r--r-- | diff.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3544,9 +3544,9 @@ int diff_opt_parse(struct diff_options *options, const char **av, int ac) else if (!strcmp(arg, "--ignore-space-at-eol")) DIFF_XDL_SET(options, IGNORE_WHITESPACE_AT_EOL); else if (!strcmp(arg, "--patience")) - DIFF_XDL_SET(options, PATIENCE_DIFF); + options->xdl_opts = DIFF_WITH_ALG(options, PATIENCE_DIFF); else if (!strcmp(arg, "--histogram")) - DIFF_XDL_SET(options, HISTOGRAM_DIFF); + options->xdl_opts = DIFF_WITH_ALG(options, HISTOGRAM_DIFF); /* flags options */ else if (!strcmp(arg, "--binary")) { |