X-Git-Url: https://git.octo.it/?p=git.git;a=blobdiff_plain;f=diff.h;h=4fc597c59421b7558e0beb0f2994e15950592aaa;hp=b3b2c4dd28c4f1a8f14948e5d1262dd71f1e96cf;hb=1a82e79315ed633f6b0b1fc4076054950c5380d3;hpb=c66b6c067e49c5ec80f1254daef79aa1c7f5ffce diff --git a/diff.h b/diff.h index b3b2c4dd..4fc597c5 100644 --- a/diff.h +++ b/diff.h @@ -28,9 +28,12 @@ struct diff_options { with_raw:1, with_stat:1, tree_in_recursive:1, + 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; @@ -41,6 +44,7 @@ struct diff_options { int rename_limit; int setup; int abbrev; + const char *stat_sep; int nr_paths; const char **paths; @@ -49,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, @@ -150,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*);