author | Bernhard R. Link <brl+git@mail.brlink.eu> | |
Mon, 30 Jan 2012 20:05:47 +0000 (21:05 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 1 Feb 2012 20:52:33 +0000 (12:52 -0800) | ||
commit | 4c7cd177148c0ae018e1f1d1c037d296d50d3562 | |
tree | 96c26ea2ac39173baf200faaec6b97dc5ebb10b5 | tree | snapshot |
parent | 828ea97de486c1693d6e4f2c7347acb50235a85d | commit | diff |
gitweb: move hard coded .git suffix out of git_get_projects_list
Use of the filter option of git_get_projects_list is currently
limited to forks. It hard codes removal of ".git" suffixes from
the filter.
To make it more generic move the .git suffix removal to the callers.
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>
Use of the filter option of git_get_projects_list is currently
limited to forks. It hard codes removal of ".git" suffixes from
the filter.
To make it more generic move the .git suffix removal to the callers.
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>
gitweb/gitweb.perl | diff | blob | history |