diff options
author | Alyssa Ross <hi@alyssa.is> | 2020-07-23T21·09+0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2020-08-03T10·28+0000 |
commit | 6b181d314f81fbff46df988618a89792b8219cbc (patch) | |
tree | a0e1230763cea910a1dcde22544861d74fa06c8e | |
parent | 46c78aa0f9e843554079f59bd104e6376a8c9141 (diff) |
fix(3p/cgit): transpose html_option parameters r/1558
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 <mail@tazj.in> Reviewed-by: kanepyork <rikingcoding@gmail.com> Tested-by: BuildkiteCI
-rw-r--r-- | third_party/cgit/ui-shared.c | 2 |
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; } |