From 9fb53af215639fcd3bfb876fa9c8bac221244bdf Mon Sep 17 00:00:00 2001 From: Lars Hjemli Date: Mon, 14 May 2007 11:10:59 +0200 Subject: Add log filtering by path and link to it from tree view This enables path-filtering in log-view, and adds a link per entry in tree-view to show the log for each file/directory. Signed-off-by: Lars Hjemli --- cgit.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cgit.h') diff --git a/cgit.h b/cgit.h index 93699b5..0fff7b0 100644 --- a/cgit.h +++ b/cgit.h @@ -169,10 +169,10 @@ extern void cgit_print_snapshot_start(const char *mimetype, extern void cgit_print_repolist(struct cacheitem *item); extern void cgit_print_summary(); -extern void cgit_print_log(const char *tip, int ofs, int cnt, char *grep); +extern void cgit_print_log(const char *tip, int ofs, int cnt, char *grep, char *path); extern void cgit_print_view(const char *hex, char *path); extern void cgit_print_blob(struct cacheitem *item, const char *hex, char *path); -extern void cgit_print_tree(const char *hex, char *path); +extern void cgit_print_tree(const char *rev, const char *hex, char *path); extern void cgit_print_commit(const char *hex); extern void cgit_print_diff(const char *old_hex, const char *new_hex, char *path); extern void cgit_print_snapshot(struct cacheitem *item, const char *hex, -- cgit v1.2.1