about summary refs log tree commit diff
path: root/third_party
diff options
context:
space:
mode:
Diffstat (limited to 'third_party')
-rw-r--r--third_party/cgit/ui-shared.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/third_party/cgit/ui-shared.c b/third_party/cgit/ui-shared.c
index e60b59403574..ee8f311f616e 100644
--- a/third_party/cgit/ui-shared.c
+++ b/third_party/cgit/ui-shared.c
@@ -517,7 +517,7 @@ static void cgit_self_link(char *name, const char *title, const char *class)
 				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.has_oid ? ctx.qry.oid : NULL,
 			        ctx.qry.path);
 	else if (!strcmp(ctx.qry.page, "summary"))
 		cgit_summary_link(name, title, class, ctx.qry.head);
@@ -1044,7 +1044,7 @@ void cgit_print_pageheader(void)
 	if (ctx.env.authenticated && ctx.repo) {
 		if (ctx.repo->readme.nr) {
 			cgit_about_link("about", NULL, hc("about"), ctx.qry.head,
-					 ctx.qry.sha1, ctx.qry.vpath);
+					 ctx.qry.oid, ctx.qry.vpath);
 		}
 		cgit_summary_link("summary", NULL, hc("summary"),
 				  ctx.qry.head);