{"thread":{"id":"5645","subject":"[PATCH] gitweb: Link (HEAD) tree for each project from projects list","startedAt":"2006-09-21T23:58:40Z","lastAt":"2006-09-21T23:58:40Z","messageCount":1,"participants":["Petr Baudis"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"27393","messageId":"20060921235840.5385.46104.stgit@rover","threadId":"5645","inReplyTo":null,"subject":"[PATCH] gitweb: Link (HEAD) tree for each project from projects list","fromName":"Petr Baudis","fromEmail":"pasky@suse.cz","sentAt":"2006-09-21T23:58:40Z","receivedAt":"2006-09-21T23:58:40Z","isPatch":true,"sender":{"key":"pasky@ucw.cz","avatar":"https://avatars.githubusercontent.com/u/18439?v=4"},"body":"Current projects list is oriented on easily getting \"what's new\"\ninformation. But when already using gitweb as an interface to something,\nI personally find myself to _much_ more frequently wanting to rather\nsee \"what's in\" (or \"what's new in\") and it's quite annoying to have to\ngo through the summary page (which is also rather expensive to generate)\njust to get there.\n\nSigned-off-by: Petr Baudis <pasky@suse.cz>\n---\n\n gitweb/gitweb.perl |    3 ++-\n 1 files changed, 2 insertions(+), 1 deletions(-)\n\ndiff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl\nindex 982ddbc..0d2ff82 100755\n--- a/gitweb/gitweb.perl\n+++ b/gitweb/gitweb.perl\n@@ -2283,7 +2283,8 @@ sub git_project_list {\n \t\t      \"<td class=\\\"link\\\">\" .\n \t\t      $cgi->a({-href => href(project=>$pr->{'path'}, action=>\"summary\")}, \"summary\")   . \" | \" .\n \t\t      $cgi->a({-href => href(project=>$pr->{'path'}, action=>\"shortlog\")}, \"shortlog\") . \" | \" .\n-\t\t      $cgi->a({-href => href(project=>$pr->{'path'}, action=>\"log\")}, \"log\") .\n+\t\t      $cgi->a({-href => href(project=>$pr->{'path'}, action=>\"log\")}, \"log\") . \" | \" .\n+\t\t      $cgi->a({-href => href(project=>$pr->{'path'}, action=>\"tree\")}, \"tree\") .\n \t\t      \"</td>\\n\" .\n \t\t      \"</tr>\\n\";\n \t}\n"}]}