]> Lady’s Gitweb - Gitweb/commit
gitweb: more support for PATH_INFO based URLs
authorMartin Waitz <redacted>
Sat, 16 Sep 2006 21:08:32 +0000 (23:08 +0200)
committerLady <redacted>
Mon, 6 Apr 2026 04:07:10 +0000 (00:07 -0400)
commitb95944fb27d6c0ba8239b1406c762af5a4e62627a26b45d74f9570cb89eaeff5
tree76d9eebfa769ea2bdac2d3c78e21bfc8f5967437c9fcaf6c40c412d840d6b403
parent4ccc463024675fa29ee3380d37df15d53f814291e017b2ef1ef8a70b874a88d8
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 <redacted>
Acked-by: Jakub Narebski <redacted>
Signed-off-by: Junio C Hamano <redacted>
gitweb.perl
This page took 0.232026 seconds and 4 git commands to generate.