]> gitweb.ps.run Git - ps-cgit/blobdiff - ui-commit.c
git: update to v2.41.0
[ps-cgit] / ui-commit.c
index 078723756a6197051d8dffa3bab8d19b85a6e8f7..30672d0130a03739fb6f81ff1f079009664c7a94 100644 (file)
@@ -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;