mirror of
https://git.zx2c4.com/cgit
synced 2025-08-01 08:34:36 +02:00
ui-view: show pathname if specified in querystring
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
This commit is contained in:
parent
61c3ca978c
commit
7250a15467
3 changed files with 10 additions and 5 deletions
2
cgit.c
2
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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue