X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=diff.h;h=50fb5ddb0bec02b0cd5498d6ecc37d44bf874476;hb=6457e58c8fc00ef1c72724dad5f8baf54cfee5a2;hp=5dc0cb595b64868ca8b8e26e5311d2df102c89e0;hpb=87fb597d4e3643210e1967d1e3035f28f5b019e5;p=git.git diff --git a/diff.h b/diff.h index 5dc0cb595..50fb5ddb0 100644 --- a/diff.h +++ b/diff.h @@ -14,12 +14,12 @@ typedef void (*change_fn_t)(struct diff_options *options, unsigned old_mode, unsigned new_mode, const unsigned char *old_sha1, const unsigned char *new_sha1, - const char *base, const char *path); + const char *fullpath); typedef void (*add_remove_fn_t)(struct diff_options *options, int addremove, unsigned mode, const unsigned char *sha1, - const char *base, const char *path); + const char *fullpath); typedef void (*diff_format_fn_t)(struct diff_queue_struct *q, struct diff_options *options, void *data); @@ -164,14 +164,13 @@ extern void diff_addremove(struct diff_options *, int addremove, unsigned mode, const unsigned char *sha1, - const char *base, - const char *path); + const char *fullpath); extern void diff_change(struct diff_options *, unsigned mode1, unsigned mode2, const unsigned char *sha1, const unsigned char *sha2, - const char *base, const char *path); + const char *fullpath); extern void diff_unmerge(struct diff_options *, const char *path,