about summary refs log tree commit diff stats
path: root/ui-tag.c
diff options
context:
space:
mode:
authorMark Lodato2010-01-31 14:25:03 -0500
committerMark Lodato2010-01-31 17:10:00 -0500
commit6c1a7364557b5a19ecef3079e9bdad5c1acb3cb1 (patch)
treef26eb786154d85d218ad37bc5b27ec9927df181c /ui-tag.c
parentui-plain: more efficient walk_tree() (diff)
downloadcgit-6c1a7364557b5a19ecef3079e9bdad5c1acb3cb1.tar.gz
cgit-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-tag.c')
0 files changed, 0 insertions, 0 deletions