aboutsummaryrefslogtreecommitdiffstats
path: root/ui-plain.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui-plain.c')
-rw-r--r--ui-plain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-plain.c b/ui-plain.c
index ddb3e48..070c34b 100644
--- a/ui-plain.c
+++ b/ui-plain.c
@@ -185,7 +185,7 @@ void cgit_print_plain(void)
185 cgit_print_error_page(404, "Not found", "Not found"); 185 cgit_print_error_page(404, "Not found", "Not found");
186 return; 186 return;
187 } 187 }
188 commit = lookup_commit_reference(&oid); 188 commit = lookup_commit_reference(the_repository, &oid);
189 if (!commit || parse_commit(commit)) { 189 if (!commit || parse_commit(commit)) {
190 cgit_print_error_page(404, "Not found", "Not found"); 190 cgit_print_error_page(404, "Not found", "Not found");
191 return; 191 return;