summaryrefslogtreecommitdiff
path: root/compat/win32
diff options
context:
space:
mode:
authorLibravatar Bernhard R. Link <brl+git@mail.brlink.eu>2012-01-30 21:07:37 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-02-01 12:52:49 -0800
commit19d2d23998bba7c7f0ee87451ddbbf8906381939 (patch)
treed99a06fa9cb96c4cdb76076be523acf0263f8ff9 /compat/win32
parentgitweb: prepare git_get_projects_list for use outside 'forks'. (diff)
downloadtgif-19d2d23998bba7c7f0ee87451ddbbf8906381939.tar.xz
gitweb: add project_filter to limit project list to a subdirectory
This commit changes the project listing views (project_list, project_index and opml) to limit the output to only projects in a subdirectory if the new optional parameter ?pf=directory name is used. The implementation of the filter reuses the implementation used for the 'forks' action (i.e. listing all projects within that directory from the projects list file (GITWEB_LIST) or only projects in the given subdirectory of the project root directory without a projects list file). Reusing $project instead of adding a new parameter would have been nicer from a UI point-of-view (including PATH_INFO support) but would complicate the $project validating code that is currently being used to ensure nothing is exported that should not be viewable. Signed-off-by: Bernhard R. Link <brlink@debian.org> Acked-by: Jakub Narebski <jnareb@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat/win32')
0 files changed, 0 insertions, 0 deletions