diff options
author | John Keeping <john@keeping.me.uk> | 2013-04-20 11:14:36 +0100 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.net> | 2013-04-20 12:49:45 +0200 |
commit | 6308005fbda0a52416ad6eefe0d3a51b7c951e18 (patch) | |
tree | bcfd14ae16bf778469f13955c86e24006de836db /shared.c | |
parent | 389cc17357e2040c9542d3e085f64a8d2f085e9a (diff) | |
download | cgit-6308005fbda0a52416ad6eefe0d3a51b7c951e18.tar.gz cgit-6308005fbda0a52416ad6eefe0d3a51b7c951e18.tar.bz2 cgit-6308005fbda0a52416ad6eefe0d3a51b7c951e18.zip |
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>
Diffstat (limited to '')
-rw-r--r-- | shared.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |