]> git.cameronkatri.com Git - cgit.git/blobdiff - ui-plain.c
ui-ssdiff: resolve HTML5 validation errors
[cgit.git] / ui-plain.c
index ddb3e4819f0a9bb2de69923ddf8d0906689fa2b1..070c34bccec5be20feb66379ab0f5ec777b991de 100644 (file)
@@ -185,7 +185,7 @@ void cgit_print_plain(void)
                cgit_print_error_page(404, "Not found", "Not found");
                return;
        }
-       commit = lookup_commit_reference(&oid);
+       commit = lookup_commit_reference(the_repository, &oid);
        if (!commit || parse_commit(commit)) {
                cgit_print_error_page(404, "Not found", "Not found");
                return;