From 6308005fbda0a52416ad6eefe0d3a51b7c951e18 Mon Sep 17 00:00:00 2001 From: John Keeping Date: Sat, 20 Apr 2013 11:14:36 +0100 Subject: 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 --- shared.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'shared.c') diff --git a/shared.c b/shared.c index 4369378..4a73ee6 100644 --- a/shared.c +++ b/shared.c @@ -245,8 +245,8 @@ int cgit_refs_cb(const char *refname, const unsigned char *sha1, 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; -- cgit v1.2.3