about summary refs log tree commit diff
path: root/third_party/cgit/ui-shared.c
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/cgit/ui-shared.c')
-rw-r--r--third_party/cgit/ui-shared.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/cgit/ui-shared.c b/third_party/cgit/ui-shared.c
index 7670276f4b1e..2d913322f415 100644
--- a/third_party/cgit/ui-shared.c
+++ b/third_party/cgit/ui-shared.c
@@ -899,7 +899,7 @@ static int print_this_commit_option(void)
 	struct object_id oid;
 	if (get_oid(ctx.qry.head, &oid))
 		return 1;
-	html_option("this commit", oid_to_hex(&oid), ctx.qry.head);
+	html_option(oid_to_hex(&oid), "this commit", ctx.qry.head);
 	return 0;
 }