Diff options
authorJohn Keeping <john@keeping.me.uk>
committerJason A. Donenfeld <Jason@zx2c4.com>
commit
parent
tree
download
commit: move layout into page function
This allows us to return a proper HTTP status code when an object is not found by switching from cgit_print_error() to cgit_print_error_page(). Signed-off-by: John Keeping <john@keeping.me.uk>
-rw-r--r--cmd.c2
-rw-r--r--ui-commit.c8
2 files changed, 7 insertions, 3 deletions