From: Florian La Roche Date: Sun, 3 Feb 2008 11:38:46 +0000 (+0100) Subject: gitweb: Make feed entries point to commitdiff view X-Git-Url: https://git.ladys.computer/Gitweb/commitdiff_plain/4767beea01444d494ddaec65cf5ed1309efa4860e81f9e584020d47e6502fc75 gitweb: Make feed entries point to commitdiff view Change feeds entries (feeds items) from pointing (linking) to 'commit' view to pointing to 'commitdiff' view. First, feed entries have whatchanged-like list of files which were modified in a commit, so 'commitdiff' view more naturally reflects feed entry (is more naturally alternate / extended version of a feed item). Second, this way the patches are shown directly and code review is done more easily via watching feeds. [jn: Rewritten commit message] Signed-off-by: Florian La Roche Signed-off-by: Jakub Narebski Signed-off-by: Junio C Hamano --- diff --git a/gitweb.perl b/gitweb.perl index 1b46035..ff3623b 100755 --- a/gitweb.perl +++ b/gitweb.perl @@ -5566,7 +5566,7 @@ XML or next; # print element (entry, item) - my $co_url = href(-full=>1, action=>"commit", hash=>$commit); + my $co_url = href(-full=>1, action=>"commitdiff", hash=>$commit); if ($format eq 'rss') { print "\n" . "" . esc_html($co{'title'}) . "\n" .