Commit 4c7cd17
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>1 parent 828ea97 commit 4c7cd17
1 file changed
+6
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2829 | 2829 | | |
2830 | 2830 | | |
2831 | 2831 | | |
2832 | | - | |
2833 | | - | |
2834 | 2832 | | |
2835 | 2833 | | |
2836 | 2834 | | |
| |||
6005 | 6003 | | |
6006 | 6004 | | |
6007 | 6005 | | |
6008 | | - | |
| 6006 | + | |
| 6007 | + | |
| 6008 | + | |
6009 | 6009 | | |
6010 | 6010 | | |
6011 | 6011 | | |
| |||
6064 | 6064 | | |
6065 | 6065 | | |
6066 | 6066 | | |
6067 | | - | |
| 6067 | + | |
| 6068 | + | |
| 6069 | + | |
6068 | 6070 | | |
6069 | 6071 | | |
6070 | 6072 | | |
| |||
0 commit comments