From: Mark Lodato Date: Sun, 31 Jan 2010 19:25:03 +0000 (-0500) Subject: ui-plain: print directory listings X-Git-Url: https://gitweb.ps.run/ps-cgit/commitdiff_plain/6c1a7364557b5a19ecef3079e9bdad5c1acb3cb1?hp=6c1a7364557b5a19ecef3079e9bdad5c1acb3cb1 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 ---