From f1136cde16d2ab9d8c87e615d0dfdbe7e22adab7 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sun, 19 Apr 2020 16:46:07 +0100 Subject: fix(third_party/cgit): Correctly make "about links" on about page --- third_party/cgit/ui-shared.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'third_party/cgit/ui-shared.c') diff --git a/third_party/cgit/ui-shared.c b/third_party/cgit/ui-shared.c index f204220196fc..af2176719902 100644 --- a/third_party/cgit/ui-shared.c +++ b/third_party/cgit/ui-shared.c @@ -515,6 +515,10 @@ static void cgit_self_link(char *name, const char *title, const char *class) if (!strcmp(ctx.qry.page, "repolist")) cgit_index_link(name, title, class, ctx.qry.search, ctx.qry.sort, ctx.qry.ofs, 1); + else if (!strcmp(ctx.qry.page, "about")) + cgit_about_link(name, title, class, ctx.qry.head, + ctx.qry.has_sha1 ? ctx.qry.sha1 : NULL, + ctx.qry.path); else if (!strcmp(ctx.qry.page, "summary")) cgit_summary_link(name, title, class, ctx.qry.head); else if (!strcmp(ctx.qry.page, "tag")) -- cgit 1.4.1