@matheusbsbs / matheus-bagliano / commits / 609ff267fb
Fork 0

gitweb: Link (HEAD) tree for each project from projects list

Current projects list is oriented on easily getting "what's new" information. But when already using gitweb as an interface to something, I personally find myself to _much_ more frequently wanting to rather see "what's in" (or "what's new in") and it's quite annoying to have to go through the summary page (which is also rather expensive to generate) just to get there. Signed-off-by: Petr Baudis <pasky@suse.cz> Signed-off-by: Junio C Hamano <junkio@cox.net>

Petr Baudis committed Sep 22, 2006 at 01:58 UTC 609ff267fb03fb10dcefd15fc1f0ef3d7a1ba5ce
1 file changed +2 -1
gitweb/gitweb.perl
+2 -1
@@ -2282,7 +2282,8 @@ sub git_project_list {
2282 "<td class=\"link\">" .
2283 $cgi->a({-href => href(project=>$pr->{'path'}, action=>"summary")}, "summary") . " | " .
2284 $cgi->a({-href => href(project=>$pr->{'path'}, action=>"shortlog")}, "shortlog") . " | " .
2285 - $cgi->a({-href => href(project=>$pr->{'path'}, action=>"log")}, "log") .
2285 + $cgi->a({-href => href(project=>$pr->{'path'}, action=>"log")}, "log") . " | " .
2286 + $cgi->a({-href => href(project=>$pr->{'path'}, action=>"tree")}, "tree") .
2287 "</td>\n" .
2288 "</tr>\n";
2289 }