From f527a57c8a55f5fd315e1bc1cb338f5f4a9b20ae Mon Sep 17 00:00:00 2001 From: Lars Hjemli Date: Mon, 1 Oct 2007 11:42:19 +0200 Subject: Add prefix parameter to cgit_diff_tree() This paramter can be used to restrict a diff to the specified path prefix. Signed-off-by: Lars Hjemli --- cgit.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cgit.h') diff --git a/cgit.h b/cgit.h index e3d9cb8..5ef0bc5 100644 --- a/cgit.h +++ b/cgit.h @@ -170,7 +170,7 @@ extern int cgit_diff_files(const unsigned char *old_sha1, extern void cgit_diff_tree(const unsigned char *old_sha1, const unsigned char *new_sha1, - filepair_fn fn); + filepair_fn fn, const char *prefix); extern void cgit_diff_commit(struct commit *commit, filepair_fn fn); -- cgit v1.2.3-59-g8ed1b