diff options
author | John Keeping <john@keeping.me.uk> | 2015-08-12 16:34:48 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2015-08-12 16:57:30 +0200 |
commit | 044e2d26da4f8b4f9ff25e4a729ab4e393073b5e (patch) | |
tree | b98bb6979764625c4f919e90e3374f91b698dea4 /shared.c | |
parent | 2d386e227e0b75474efcfe82e9fec7d0f21c6df4 (diff) | |
download | cgit-044e2d26da4f8b4f9ff25e4a729ab4e393073b5e.tar.gz cgit-044e2d26da4f8b4f9ff25e4a729ab4e393073b5e.tar.xz |
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 'shared.c')
-rw-r--r-- | shared.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |