diff options
author | Petr Baudis <pasky@suse.cz> | 2006-09-22 01:58:40 +0200 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-09-21 20:56:33 -0700 |
commit | 609ff267fb03fb10dcefd15fc1f0ef3d7a1ba5ce (patch) | |
tree | dcd297325fb54aaa396610baee9cc2db584700c0 | |
parent | 1d782b03b078c1a525cbb5728f6dc5eb06f06924 (diff) | |
download | git-609ff267fb03fb10dcefd15fc1f0ef3d7a1ba5ce.tar.gz git-609ff267fb03fb10dcefd15fc1f0ef3d7a1ba5ce.tar.xz |
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>
-rwxr-xr-x | gitweb/gitweb.perl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index d3757f49b..8fd7f6638 100755 --- a/gitweb/gitweb.perl +++ b/gitweb/gitweb.perl @@ -2282,7 +2282,8 @@ sub git_project_list { "<td class=\"link\">" . $cgi->a({-href => href(project=>$pr->{'path'}, action=>"summary")}, "summary") . " | " . $cgi->a({-href => href(project=>$pr->{'path'}, action=>"shortlog")}, "shortlog") . " | " . - $cgi->a({-href => href(project=>$pr->{'path'}, action=>"log")}, "log") . + $cgi->a({-href => href(project=>$pr->{'path'}, action=>"log")}, "log") . " | " . + $cgi->a({-href => href(project=>$pr->{'path'}, action=>"tree")}, "tree") . "</td>\n" . "</tr>\n"; } |