X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=diff.h;h=6703a4fb4f0302f4adf1065e91cd1bb27e5c973a;hb=1e7ef0253c91bf2f25f9d8e44795b642737e664e;hp=42582edee68a4a4717ae5debebf37e6b9610fc8f;hpb=325e9bca373349c028a72a796ebcff0732092759;p=git.git diff --git a/diff.h b/diff.h index 42582edee..6703a4fb4 100644 --- a/diff.h +++ b/diff.h @@ -78,6 +78,7 @@ struct diff_options { const char *a_prefix, *b_prefix; unsigned flags; int context; + int interhunkcontext; int break_opt; int detect_rename; int skip_stat_unmatch; @@ -97,6 +98,7 @@ struct diff_options { int stat_width; int stat_name_width; + const char *word_regex; /* this is set by diffcore for DIFF_FORMAT_PATCH */ int found_changes; @@ -263,4 +265,6 @@ extern int diff_result_code(struct diff_options *, int); extern void diff_no_index(struct rev_info *, int, const char **, int, const char *); +extern int index_differs_from(const char *def, int diff_flags); + #endif /* DIFF_H */