diff options
context:
space:
mode:
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Use standard HTTP reason phrases
Diffstat (limited to 'source/ui-diff.c')
-rw-r--r--source/ui-diff.c8
1 file changed, 4 insertions, 4 deletions
diff --git a/source/ui-diff.c b/source/ui-diff.c
index d6232a3..d783cb4 100644
--- a/source/ui-diff.c
+++ b/source/ui-diff.c
@@ -635,13 +635,13 @@ void cgit_print_diff(const char *new_rev, const char *old_rev,
if (!new_rev)
new_rev = ctx.qry.head;
if (repo_get_oid(the_repository, new_rev, new_rev_oid)) {
- cgit_print_error_page(404, "Not found",
+ cgit_print_error_page(404, "Not Found",
"Bad object name: %s", new_rev);
return;
}
new_commit = lookup_commit_reference(the_repository, new_rev_oid);
if (!new_commit || repo_parse_commit(the_repository, new_commit)) {
- cgit_print_error_page(404, "Not found",
+ cgit_print_error_page(404, "Not Found",
"Bad commit: %s", oid_to_hex(new_rev_oid));
return;
}
@@ -649,7 +649,7 @@ void cgit_print_diff(const char *new_rev, const char *old_rev,
if (old_rev) {
if (repo_get_oid(the_repository, old_rev, old_rev_oid)) {
- cgit_print_error_page(404, "Not found",
+ cgit_print_error_page(404, "Not Found",
"Bad object name: %s", old_rev);
return;
}
@@ -664,7 +664,7 @@ void cgit_print_diff(const char *new_rev, const char *old_rev,
old_rev_oid);
if (!old_commit ||
repo_parse_commit(the_repository, old_commit)) {
- cgit_print_error_page(404, "Not found",
+ cgit_print_error_page(404, "Not Found",
"Bad commit: %s", oid_to_hex(old_rev_oid));
return;
}