diff options
| author | Lars Hjemli | 2007-05-08 23:52:56 +0200 |
|---|---|---|
| committer | Lars Hjemli | 2007-05-08 23:52:56 +0200 |
| commit | 7250a154678477a1e8260efbc9810ec389754ef9 (patch) | |
| tree | 519559a2f9238fc386b7715c55bc3e2326be8d54 /cgit.c | |
| parent | 61c3ca978c586c673aec618cb94210657278dda8 (diff) | |
| download | cgit-7250a154678477a1e8260efbc9810ec389754ef9.tar.gz cgit-7250a154678477a1e8260efbc9810ec389754ef9.tar.bz2 cgit-7250a154678477a1e8260efbc9810ec389754ef9.zip | |
ui-view: show pathname if specified in querystring
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'cgit.c')
| -rw-r--r-- | cgit.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -109,7 +109,7 @@ static void cgit_print_repo_page(struct cacheitem *item) | |||
| 109 | } else if (!strcmp(cgit_query_page, "commit")) { | 109 | } else if (!strcmp(cgit_query_page, "commit")) { |
| 110 | cgit_print_commit(cgit_query_sha1); | 110 | cgit_print_commit(cgit_query_sha1); |
| 111 | } else if (!strcmp(cgit_query_page, "view")) { | 111 | } else if (!strcmp(cgit_query_page, "view")) { |
| 112 | cgit_print_view(cgit_query_sha1); | 112 | cgit_print_view(cgit_query_sha1, cgit_query_path); |
| 113 | } else if (!strcmp(cgit_query_page, "diff")) { | 113 | } else if (!strcmp(cgit_query_page, "diff")) { |
| 114 | cgit_print_diff(cgit_query_sha1, cgit_query_sha2); | 114 | cgit_print_diff(cgit_query_sha1, cgit_query_sha2); |
| 115 | } else { | 115 | } else { |
