]> gitweb.ps.run Git - ps-cgit/commitdiff
ui-plain: print directory listings
authorMark Lodato <lodatom@gmail.com>
Sun, 31 Jan 2010 19:25:03 +0000 (14:25 -0500)
committerMark Lodato <lodatom@gmail.com>
Sun, 31 Jan 2010 22:10:00 +0000 (17:10 -0500)
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>

No differences found