about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ui-shared.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-shared.c b/ui-shared.c
index a198cf2..64c237f 100644
--- a/ui-shared.c
+++ b/ui-shared.c
@@ -305,7 +305,7 @@ void cgit_print_pageheader(char *title, int show_search)
 			      cgit_query_sha1, cgit_query_path);
 		html(" ");
 		cgit_tree_link("tree", NULL, NULL, cgit_query_head,
-			       cgit_query_sha1, cgit_query_path);
+			       cgit_query_sha1, NULL);
 		html(" ");
 		cgit_commit_link("commit", NULL, NULL, cgit_query_head,
 			      cgit_query_sha1);