mirror of
https://git.zx2c4.com/cgit
synced 2025-08-30 06:29:34 +02:00
WIP: add paths/backlinks to tree/blobview
This commit is contained in:
parent
2c2047ff67
commit
5cd2bf7e7f
4 changed files with 15 additions and 5 deletions
2
cgit.c
2
cgit.c
|
@ -56,7 +56,7 @@ static void cgit_print_repo_page(struct cacheitem *item)
|
|||
} else if (!strcmp(cgit_query_page, "log")) {
|
||||
cgit_print_log(cgit_query_head, cgit_query_ofs, 100, cgit_query_search);
|
||||
} else if (!strcmp(cgit_query_page, "tree")) {
|
||||
cgit_print_tree(cgit_query_sha1);
|
||||
cgit_print_tree(cgit_query_sha1, cgit_query_path);
|
||||
} else if (!strcmp(cgit_query_page, "commit")) {
|
||||
cgit_print_commit(cgit_query_sha1);
|
||||
} else if (!strcmp(cgit_query_page, "view")) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue