From: John Keeping Date: Fri, 14 Aug 2015 11:47:20 +0000 (+0100) Subject: tree: move layout into page function X-Git-Url: https://gitweb.ps.run/ps-cgit/commitdiff_plain/9c70c0bfdb71b39f6bae6e0c77bbe40b22d64ff5?ds=inline;hp=9c70c0bfdb71b39f6bae6e0c77bbe40b22d64ff5 tree: move layout into page function 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 ---