mirror of
https://git.zx2c4.com/cgit
synced 2025-07-04 07:14:34 +02:00
shared: make cgit_diff_tree_cb public
This will allow us to use this nice wrapper function elsewhere, avoiding dealing with the diff queue when we only need to inspect a filepair. Signed-off-by: John Keeping <john@keeping.me.uk>
This commit is contained in:
parent
2d386e227e
commit
044e2d26da
2 changed files with 5 additions and 2 deletions
4
shared.c
4
shared.c
|
@ -250,8 +250,8 @@ int cgit_refs_cb(const char *refname, const struct object_id *oid, int flags,
|
|||
return 0;
|
||||
}
|
||||
|
||||
static void cgit_diff_tree_cb(struct diff_queue_struct *q,
|
||||
struct diff_options *options, void *data)
|
||||
void cgit_diff_tree_cb(struct diff_queue_struct *q,
|
||||
struct diff_options *options, void *data)
|
||||
{
|
||||
int i;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue