diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-05-11 11:19:27 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-05-11 11:19:27 -0700 |
commit | 8daff716ad6caee55e04e5550137cd3bd83b9822 (patch) | |
tree | c265e6d3c6a05ce2f72b6058958f4fac14d79731 /diff.h | |
parent | Merge branch 'ct/advise-push-default' into maint (diff) | |
parent | xdiff: PATIENCE/HISTOGRAM are not independent option bits (diff) | |
download | tgif-8daff716ad6caee55e04e5550137cd3bd83b9822.tar.xz |
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.h')
-rw-r--r-- | diff.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -91,6 +91,8 @@ typedef struct strbuf *(*diff_prefix_fn_t)(struct diff_options *opt, void *data) #define DIFF_XDL_SET(opts, flag) ((opts)->xdl_opts |= XDF_##flag) #define DIFF_XDL_CLR(opts, flag) ((opts)->xdl_opts &= ~XDF_##flag) +#define DIFF_WITH_ALG(opts, flag) (((opts)->xdl_opts & ~XDF_DIFF_ALGORITHM_MASK) | XDF_##flag) + enum diff_words_type { DIFF_WORDS_NONE = 0, DIFF_WORDS_PORCELAIN, |