X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=diff.h;h=4fc597c59421b7558e0beb0f2994e15950592aaa;hb=ae448e3854d8b6e7e37aa88fa3917f5dd97f3210;hp=d052608404314880652561e4296e05e9da3f96ca;hpb=4edd44725c621b3a2c6c9c4d8f130ceea2ba355a;p=git.git diff --git a/diff.h b/diff.h index d0526084..4fc597c5 100644 --- a/diff.h +++ b/diff.h @@ -31,7 +31,9 @@ struct diff_options { binary:1, full_index:1, silent_on_remove:1, - find_copies_harder:1; + find_copies_harder:1, + summary:1; + int context; int break_opt; int detect_rename; int line_termination; @@ -42,6 +44,7 @@ struct diff_options { int rename_limit; int setup; int abbrev; + const char *stat_sep; int nr_paths; const char **paths; @@ -50,6 +53,8 @@ struct diff_options { add_remove_fn_t add_remove; }; +extern const char mime_boundary_leader[]; + extern void diff_tree_setup_paths(const char **paths, struct diff_options *); extern void diff_tree_release_paths(struct diff_options *); extern int diff_tree(struct tree_desc *t1, struct tree_desc *t2, @@ -151,6 +156,7 @@ extern int diff_queue_is_empty(void); #define DIFF_FORMAT_NAME 4 #define DIFF_FORMAT_NAME_STATUS 5 #define DIFF_FORMAT_DIFFSTAT 6 +#define DIFF_FORMAT_CHECKDIFF 7 extern void diff_flush(struct diff_options*);