about summary refs log tree commit diff stats
path: root/ui-blame.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui-blame.c')
-rw-r--r--ui-blame.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-blame.c b/ui-blame.c index 50d0580..6dc555f 100644 --- a/ui-blame.c +++ b/ui-blame.c
@@ -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);