diff options
Diffstat (limited to 'cgit.h')
-rw-r--r-- | cgit.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -348,14 +348,14 @@ extern void *cgit_free_commitinfo(struct commitinfo *info); | |||
348 | void cgit_diff_tree_cb(struct diff_queue_struct *q, | 348 | void cgit_diff_tree_cb(struct diff_queue_struct *q, |
349 | struct diff_options *options, void *data); | 349 | struct diff_options *options, void *data); |
350 | 350 | ||
351 | extern int cgit_diff_files(const unsigned char *old_sha1, | 351 | extern int cgit_diff_files(const struct object_id *old_oid, |
352 | const unsigned char *new_sha1, | 352 | const struct object_id *new_oid, |
353 | unsigned long *old_size, unsigned long *new_size, | 353 | unsigned long *old_size, unsigned long *new_size, |
354 | int *binary, int context, int ignorews, | 354 | int *binary, int context, int ignorews, |
355 | linediff_fn fn); | 355 | linediff_fn fn); |
356 | 356 | ||
357 | extern void cgit_diff_tree(const unsigned char *old_sha1, | 357 | extern void cgit_diff_tree(const struct object_id *old_oid, |
358 | const unsigned char *new_sha1, | 358 | const struct object_id *new_oid, |
359 | filepair_fn fn, const char *prefix, int ignorews); | 359 | filepair_fn fn, const char *prefix, int ignorews); |
360 | 360 | ||
361 | extern void cgit_diff_commit(struct commit *commit, filepair_fn fn, | 361 | extern void cgit_diff_commit(struct commit *commit, filepair_fn fn, |