diff options
author | Mark Lodato <lodatom@gmail.com> | 2010-01-31 20:25:03 +0100 |
---|---|---|
committer | Mark Lodato <lodatom@gmail.com> | 2010-01-31 23:10:00 +0100 |
commit | 6c1a7364557b5a19ecef3079e9bdad5c1acb3cb1 (patch) | |
tree | f26eb786154d85d218ad37bc5b27ec9927df181c /html.c | |
parent | 74ebf82229829bbdbe74a4d9a7b6f29d2889dfc8 (diff) | |
download | cgit-6c1a7364557b5a19ecef3079e9bdad5c1acb3cb1.tar.gz cgit-6c1a7364557b5a19ecef3079e9bdad5c1acb3cb1.tar.xz |
ui-plain: print directory listings
When a user requests a plain view of a tree (as opposed to a blob),
print out a directory listing rather than giving a 404 Not Found.
Also, fix a segfault when ctx->qry.path is NULL - i.e, when /plain is
requested without a path.
Signed-off-by: Mark Lodato <lodatom@gmail.com>
Diffstat (limited to 'html.c')
0 files changed, 0 insertions, 0 deletions