@matheusbsbs / matheus-bagliano / commits / e62a641de1
Fork 0

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 <laroche@redhat.com> Signed-off-by: Jakub Narebski <jnareb@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Florian La Roche committed Feb 3, 2008 at 12:38 UTC e62a641de17b172ffc4d3a803085c8afbfbec3d1
1 file changed +1 -1
gitweb/gitweb.perl
+1 -1
@@ -5565,7 +5565,7 @@ XML
5565 or next;
5566
5567 # print element (entry, item)
5568 - my $co_url = href(-full=>1, action=>"commit", hash=>$commit);
5568 + my $co_url = href(-full=>1, action=>"commitdiff", hash=>$commit);
5569 if ($format eq 'rss') {
5570 print "<item>\n" .
5571 "<title>" . esc_html($co{'title'}) . "</title>\n" .