From ecd8fd843bcc5dfe87b87b4b2f4697f04fae0b5a Mon Sep 17 00:00:00 2001 From: Rory& Date: Wed, 12 Mar 2025 06:47:20 +0100 Subject: Fix changes after rebasing on upstream cgit --- ui-shared.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui-shared.c') diff --git a/ui-shared.c b/ui-shared.c index dd7e9b1..7eb7fc8 100644 --- a/ui-shared.c +++ b/ui-shared.c @@ -939,7 +939,7 @@ void cgit_add_clone_urls(void (*fn)(const char *)) static int print_this_commit_option(void) { struct object_id oid; - if (!ctx.qry.head || get_oid(ctx.qry.head, &oid)) + if (!ctx.qry.head || repo_get_oid(the_repository, ctx.qry.head, &oid)) return 1; html_option(oid_to_hex(&oid), "this commit", ctx.qry.head); return 0; -- cgit 1.5.1