From 7250a154678477a1e8260efbc9810ec389754ef9 Mon Sep 17 00:00:00 2001 From: Lars Hjemli Date: Tue, 8 May 2007 23:52:56 +0200 Subject: ui-view: show pathname if specified in querystring Signed-off-by: Lars Hjemli --- cgit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cgit.c') diff --git a/cgit.c b/cgit.c index fedf355..6dddcbb 100644 --- a/cgit.c +++ b/cgit.c @@ -109,7 +109,7 @@ static void cgit_print_repo_page(struct cacheitem *item) } else if (!strcmp(cgit_query_page, "commit")) { cgit_print_commit(cgit_query_sha1); } else if (!strcmp(cgit_query_page, "view")) { - cgit_print_view(cgit_query_sha1); + cgit_print_view(cgit_query_sha1, cgit_query_path); } else if (!strcmp(cgit_query_page, "diff")) { cgit_print_diff(cgit_query_sha1, cgit_query_sha2); } else { -- cgit v1.2.3-70-g09d2