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: be98295dc2
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
This commit is contained in:
parent
46c78aa0f9
commit
6b181d314f
1 changed files with 1 additions and 1 deletions
2
third_party/cgit/ui-shared.c
vendored
2
third_party/cgit/ui-shared.c
vendored
|
@ -899,7 +899,7 @@ static int print_this_commit_option(void)
|
||||||
struct object_id oid;
|
struct object_id oid;
|
||||||
if (get_oid(ctx.qry.head, &oid))
|
if (get_oid(ctx.qry.head, &oid))
|
||||||
return 1;
|
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;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue