]> gitweb.ps.run Git - ps-cgit/commitdiff
tree: move layout into page function
authorJohn Keeping <john@keeping.me.uk>
Fri, 14 Aug 2015 11:47:20 +0000 (12:47 +0100)
committerJason A. Donenfeld <Jason@zx2c4.com>
Fri, 14 Aug 2015 13:46:51 +0000 (15:46 +0200)
This also allows us to return proper HTTP error codes when the requested
tree is not found and display an error message in one case (invalid path
inside valid commit) where we previously just displayed an empty page.

Signed-off-by: John Keeping <john@keeping.me.uk>

No differences found