projects
/
gitweb-sgk
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d3382d5
)
Changed "project_name/.git" into "project_name" on the main project list page.
author
Aaron Taylor
<ataylor@subgeniuskitty.com>
Thu, 5 Nov 2020 06:35:21 +0000
(06:35 +0000)
committer
Aaron Taylor
<ataylor@subgeniuskitty.com>
Thu, 5 Nov 2020 06:35:21 +0000
(06:35 +0000)
gitweb.cgi
patch
|
blob
|
blame
|
history
diff --git
a/gitweb.cgi
b/gitweb.cgi
index
f7536d2
..
6b5b731
100755
(executable)
--- a/
gitweb.cgi
+++ b/
gitweb.cgi
@@
-5727,9
+5727,11
@@
sub git_project_list_rows {
}
print "</td>\n";
}
}
print "</td>\n";
}
+ my $pretty_path = $pr->{'path'};
+ $pretty_path =~ s/\/\.git$//;
print "<td>" . $cgi->a({-href => href(project=>$pr->{'path'}, action=>"summary"),
-class => "list"},
print "<td>" . $cgi->a({-href => href(project=>$pr->{'path'}, action=>"summary"),
-class => "list"},
- esc_html_match_hl($pr
->{'path'}
, $search_regexp)) .
+ esc_html_match_hl($pr
etty_path
, $search_regexp)) .
"</td>\n" .
"<td>" . $cgi->a({-href => href(project=>$pr->{'path'}, action=>"summary"),
-class => "list",
"</td>\n" .
"<td>" . $cgi->a({-href => href(project=>$pr->{'path'}, action=>"summary"),
-class => "list",