about summary refs log tree commit diff
path: root/contrib/hooks
diff options
context:
space:
mode:
authorJohn Keeping <john@keeping.me.uk>2015-08-14 12:47:13 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2015-08-14 15:46:51 +0200
commitc53a15c77a6763b4d6fefb033923ba7493b884a2 (patch)
treef4fe41b929428f3c13b283a4ad57b36f90c36add /contrib/hooks
parentabout: move layout into page functions (diff)
downloadcgit-pink-c53a15c77a6763b4d6fefb033923ba7493b884a2.tar.gz
cgit-pink-c53a15c77a6763b4d6fefb033923ba7493b884a2.zip
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>
Diffstat (limited to 'contrib/hooks')
0 files changed, 0 insertions, 0 deletions