gitweb: more support for PATH_INFO based URLs
commitdd70235f5a81e52725365365a554cf7c8cfa37e6
authorMartin Waitz <tali@admingilde.org>
Sat, 16 Sep 2006 21:08:32 +0000 (16 23:08 +0200)
committerJunio C Hamano <junkio@cox.net>
Sun, 17 Sep 2006 08:54:13 +0000 (17 01:54 -0700)
treee94979a0d7ac2c285c90f6e46ca436892f462031
parent4be609625e48e908f2b76d35bfeb61a8ba3a83a0
gitweb: more support for PATH_INFO based URLs

Now three types of path based URLs are supported:
gitweb.cgi/project.git
gitweb.cgi/project.git/branch
gitweb.cgi/project.git/branch/filename

The first one (show project summary) was already supported for a long time
now.  The other two are new: they show the shortlog of a branch or
the plain file contents of some file contained in the repository.

This is especially useful to support project web pages for small
projects: just create an html branch and then use an URL like
gitweb.cgi/project.git/html/index.html.

Signed-off-by: Martin Waitz <tali@admingilde.org>
Acked-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
gitweb/gitweb.perl