mirror of
https://git.zx2c4.com/cgit
synced 2024-11-22 08:28:42 +00:00
Do not include current path in the "tree" menu link
When generating the menu links on repo pages the tree link included the current path. This made the link pretty useless whenever the current path was set so this commit just passes NULL instead. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
This commit is contained in:
parent
0d05bca502
commit
42e459bb1f
@ -305,7 +305,7 @@ void cgit_print_pageheader(char *title, int show_search)
|
|||||||
cgit_query_sha1, cgit_query_path);
|
cgit_query_sha1, cgit_query_path);
|
||||||
html(" ");
|
html(" ");
|
||||||
cgit_tree_link("tree", NULL, NULL, cgit_query_head,
|
cgit_tree_link("tree", NULL, NULL, cgit_query_head,
|
||||||
cgit_query_sha1, cgit_query_path);
|
cgit_query_sha1, NULL);
|
||||||
html(" ");
|
html(" ");
|
||||||
cgit_commit_link("commit", NULL, NULL, cgit_query_head,
|
cgit_commit_link("commit", NULL, NULL, cgit_query_head,
|
||||||
cgit_query_sha1);
|
cgit_query_sha1);
|
||||||
|
Loading…
Reference in New Issue
Block a user