From 6c1a7364557b5a19ecef3079e9bdad5c1acb3cb1 Mon Sep 17 00:00:00 2001 From: Mark Lodato Date: Sun, 31 Jan 2010 19:25:03 +0000 Subject: 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 --- (limited to 'shared.c') -- cgit v0.9.0.2