all repos — cgit @ 42e459bb1f209df8278f4f4f0ee3f4bcfae80da8

a hyperfast web frontend for git written in c

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>
Lars Hjemli hjemli@gmail.com
Tue, 26 Jun 2007 17:32:03 +0200
commit

42e459bb1f209df8278f4f4f0ee3f4bcfae80da8

parent

0d05bca502f4a5347fa629045aca97ba9b404acc

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M ui-shared.cui-shared.c

@@ -305,7 +305,7 @@ cgit_log_link("log", NULL, NULL, cgit_query_head,

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);