about summary refs log tree commit diff
path: root/ui-clone.c
diff options
context:
space:
mode:
authorMark Lodato <lodatom@gmail.com>2010-01-31 14:25:03 -0500
committerMark Lodato <lodatom@gmail.com>2010-01-31 17:10:00 -0500
commit6c1a7364557b5a19ecef3079e9bdad5c1acb3cb1 (patch)
treef26eb786154d85d218ad37bc5b27ec9927df181c /ui-clone.c
parentui-plain: more efficient walk_tree() (diff)
downloadcgit-pink-6c1a7364557b5a19ecef3079e9bdad5c1acb3cb1.tar.gz
cgit-pink-6c1a7364557b5a19ecef3079e9bdad5c1acb3cb1.zip
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 'ui-clone.c')
0 files changed, 0 insertions, 0 deletions
=294faa477c0686ff4417250b2132ea28dbf0cd01&follow=1'>Remove scheme text linkJune McEnroe No standard base64 encoder so no way to maintain it. 2019-07-26Update Dark.terminalJune McEnroe Why are the blobs so much bigger now? 2019-07-26Lighten dark whiteJune McEnroe 2019-07-25Add png.3 man pageJune McEnroe 2019-07-25Use scheme to style HTMLsJune McEnroe 2019-07-25Don't match comments in strings in makeJune McEnroe 2019-07-25Generate index.html with links from bin.7June McEnroe 2019-07-24Warn when date has changedJune McEnroe 2019-07-24Add whenJune McEnroe When? Now. 2019-07-24Remove histedit from bitJune McEnroe