From 6b181d314f81fbff46df988618a89792b8219cbc Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Thu, 23 Jul 2020 21:09:39 +0000 Subject: fix(3p/cgit): transpose html_option parameters I got these the wrong way round, fixed them in the patch in my Nix configuration, and then neglected to fix them in the version for depot. Fixes: be98295dc24492f6607cce04ba586e3897a83543 Change-Id: Ib7d4e433887f474ae9675e9948ab38f640181095 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1383 Reviewed-by: tazjin Reviewed-by: kanepyork Tested-by: BuildkiteCI --- third_party/cgit/ui-shared.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'third_party/cgit') diff --git a/third_party/cgit/ui-shared.c b/third_party/cgit/ui-shared.c index 7670276f4b..2d913322f4 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; } -- cgit 1.4.1