X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/0e6744b3082f576be21dd1b88f519a3c1f7d3931..a6da40bf84527cbe77d1ec504e1fefb982b9a52a:/ui-commit.c diff --git a/ui-commit.c b/ui-commit.c index 0787237..30672d0 100644 --- a/ui-commit.c +++ b/ui-commit.c @@ -26,7 +26,7 @@ void cgit_print_commit(char *hex, const char *prefix) if (!hex) hex = ctx.qry.head; - if (get_oid(hex, &oid)) { + if (repo_get_oid(the_repository, hex, &oid)) { cgit_print_error_page(400, "Bad request", "Bad object id: %s", hex); return;