X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=diff.h;h=9a652e7f38e3c1aeb7c7eaf840dea7bcea285311;hb=94c22a5e7b4247d7d6453272c4425d81071d2689;hp=c5d3a4f965380fd56791fc99864fa27b758da7ca;hpb=2f8e2e3eeffd427a82467556941c31dc246a69c5;p=git.git diff --git a/diff.h b/diff.h index c5d3a4f96..9a652e7f3 100644 --- a/diff.h +++ b/diff.h @@ -62,6 +62,7 @@ typedef void (*diff_format_fn_t)(struct diff_queue_struct *q, #define DIFF_OPT_EXIT_WITH_STATUS (1 << 14) #define DIFF_OPT_REVERSE_DIFF (1 << 15) #define DIFF_OPT_CHECK_FAILED (1 << 16) +#define DIFF_OPT_RELATIVE_NAME (1 << 17) #define DIFF_OPT_TST(opts, flag) ((opts)->flags & DIFF_OPT_##flag) #define DIFF_OPT_SET(opts, flag) ((opts)->flags |= DIFF_OPT_##flag) #define DIFF_OPT_CLR(opts, flag) ((opts)->flags &= ~DIFF_OPT_##flag) @@ -85,6 +86,8 @@ struct diff_options { int dirstat_percent; int setup; int abbrev; + const char *prefix; + int prefix_length; const char *msg_sep; const char *stat_sep; long xdl_opts;