From e5b326b5130462556476d082e03dd85f90e7411f Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Thu, 27 Aug 2026 05:42:02 -1000 Subject: Use standard HTTP reason phrases --- source/ui-patch.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source/ui-patch.c') diff --git a/source/ui-patch.c b/source/ui-patch.c index 6f75b6a..e8ec313 100644 --- a/source/ui-patch.c +++ b/source/ui-patch.c @@ -32,25 +32,25 @@ static int resolve_range(const char *new_rev, const char *old_rev, struct commit *commit; if (repo_get_oid(the_repository, new_rev, new_oid)) { - cgit_print_error_page(404, "Not found", + cgit_print_error_page(404, "Not Found", "Bad object id: %s", new_rev); return -1; } commit = lookup_commit_reference(the_repository, new_oid); if (!commit) { - cgit_print_error_page(404, "Not found", + cgit_print_error_page(404, "Not Found", "Bad commit reference: %s", new_rev); return -1; } if (old_rev) { if (repo_get_oid(the_repository, old_rev, old_oid)) { - cgit_print_error_page(404, "Not found", + cgit_print_error_page(404, "Not Found", "Bad object id: %s", old_rev); return -1; } if (!lookup_commit_reference(the_repository, old_oid)) { - cgit_print_error_page(404, "Not found", + cgit_print_error_page(404, "Not Found", "Bad commit reference: %s", old_rev); return -1; } -- cgit v2.8.0