X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=diff.h;h=ae71f4ccf94369b31b1a77373861b02d478d705a;hb=1c719ffc3d1c4e03313d5cf5c4d32ec763697857;hp=0c51724493f76461b67d6ef8f5556852819ad809;hpb=7f1068e21e5840fca0787f0925e62148b2f873ed;p=git.git diff --git a/diff.h b/diff.h index 0c5172449..ae71f4ccf 100644 --- a/diff.h +++ b/diff.h @@ -12,6 +12,8 @@ struct diff_queue_struct; struct strbuf; struct diff_filespec; struct userdiff_driver; +struct sha1_array; +struct commit; typedef void (*change_fn_t)(struct diff_options *options, unsigned old_mode, unsigned new_mode, @@ -195,9 +197,9 @@ struct combine_diff_path { extern void show_combined_diff(struct combine_diff_path *elem, int num_parent, int dense, struct rev_info *); -extern void diff_tree_combined(const unsigned char *sha1, const unsigned char parent[][20], int num_parent, int dense, struct rev_info *rev); +extern void diff_tree_combined(const unsigned char *sha1, const struct sha1_array *parents, int dense, struct rev_info *rev); -extern void diff_tree_combined_merge(const unsigned char *sha1, int, struct rev_info *); +extern void diff_tree_combined_merge(const struct commit *commit, int dense, struct rev_info *rev); void diff_set_mnemonic_prefix(struct diff_options *options, const char *a, const char *b);