X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=diff.h;h=e027650cb0ff2651e2e890e7f00753c15f5b3cff;hb=c9603dfae5856aba6a8ed64719a2e73da066ad84;hp=3cc1dcf78ad10630ecd7743061251d9f0cf3576f;hpb=0582afbcb33a7ca32d09620b8dcaee63c5dd6000;p=~andy%2Fgit diff --git a/diff.h b/diff.h index 3cc1dcf78..e027650cb 100644 --- a/diff.h +++ b/diff.h @@ -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,