X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/255b78ff5291cef79978b025c9872f801de89e23..205837d4684f331afa93c946cbdfa1fa9b3d1ce9:/ui-commit.c diff --git a/ui-commit.c b/ui-commit.c index 995cb93..783211f 100644 --- a/ui-commit.c +++ b/ui-commit.c @@ -31,7 +31,7 @@ void cgit_print_commit(char *hex, const char *prefix) "Bad object id: %s", hex); return; } - commit = lookup_commit_reference(&oid); + commit = lookup_commit_reference(the_repository, &oid); if (!commit) { cgit_print_error_page(404, "Not found", "Bad commit reference: %s", hex); @@ -78,7 +78,7 @@ void cgit_print_commit(char *hex, const char *prefix) html(")\n"); html("