diff options
Diffstat (limited to 'ui-blame.c')
-rw-r--r-- | ui-blame.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -278,7 +278,7 @@ void cgit_print_blame(void) | |||
278 | "Invalid revision name: %s", rev); | 278 | "Invalid revision name: %s", rev); |
279 | return; | 279 | return; |
280 | } | 280 | } |
281 | commit = lookup_commit_reference(&oid); | 281 | commit = lookup_commit_reference(the_repository, &oid); |
282 | if (!commit || parse_commit(commit)) { | 282 | if (!commit || parse_commit(commit)) { |
283 | cgit_print_error_page(404, "Not found", | 283 | cgit_print_error_page(404, "Not found", |
284 | "Invalid commit reference: %s", rev); | 284 | "Invalid commit reference: %s", rev); |