mirror of
https://git.zx2c4.com/cgit
synced 2025-08-31 06:15:08 +00:00
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 <john@keeping.me.uk>
This commit is contained in:
committed by
Jason A. Donenfeld
parent
696a33b66f
commit
9c70c0bfdb
Reference in New Issue
Block a user