X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=diff.h;h=cb687436a0ddb9a08fc1a9e9cec569233284e01f;hb=d90b16ed421eb51fc4d7c6bda5f3332cc2e3aece;hp=ae71f4ccf94369b31b1a77373861b02d478d705a;hpb=db65f0fc3b1e16d5cc4ebf00f5af56c91546d839;p=git.git diff --git a/diff.h b/diff.h index ae71f4ccf..cb687436a 100644 --- a/diff.h +++ b/diff.h @@ -82,6 +82,7 @@ typedef struct strbuf *(*diff_prefix_fn_t)(struct diff_options *opt, void *data) #define DIFF_OPT_OVERRIDE_SUBMODULE_CONFIG (1 << 27) #define DIFF_OPT_DIRSTAT_BY_LINE (1 << 28) #define DIFF_OPT_FUNCCONTEXT (1 << 29) +#define DIFF_OPT_PICKAXE_IGNORE_CASE (1 << 30) #define DIFF_OPT_TST(opts, flag) ((opts)->flags & DIFF_OPT_##flag) #define DIFF_OPT_SET(opts, flag) ((opts)->flags |= DIFF_OPT_##flag) @@ -129,6 +130,7 @@ struct diff_options { int stat_width; int stat_name_width; + int stat_graph_width; int stat_count; const char *word_regex; enum diff_words_type word_diff; @@ -324,4 +326,7 @@ extern struct userdiff_driver *get_textconv(struct diff_filespec *one); extern int parse_rename_score(const char **cp_p); +extern int print_stat_summary(FILE *fp, int files, + int insertions, int deletions); + #endif /* DIFF_H */