X-Git-Url: https://git.cameronkatri.com/cgit.git/blobdiff_plain/e491eaa5df3055dc419d9d3cb75421e8a8c43944..ca98c9e7bf31617efc3ff7d3575efe5bba3cde1a:/ui-commit.c diff --git a/ui-commit.c b/ui-commit.c index 65b4603..9a47b54 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("