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