]> Lady’s Gitweb - Gitweb/commitdiff
gitweb: Make feed entries point to commitdiff view
authorFlorian La Roche <redacted>
Sun, 3 Feb 2008 11:38:46 +0000 (12:38 +0100)
committerLady <redacted>
Mon, 6 Apr 2026 04:07:12 +0000 (00:07 -0400)
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 <redacted>
Signed-off-by: Jakub Narebski <redacted>
Signed-off-by: Junio C Hamano <redacted>
gitweb.perl

index 1b46035b38a311b0fab30c6d01293e1890e4582f090b7af70adfa1c474d02031..ff3623bad8aefdd2dc26664c4bf67735486eb5b3e023950ffa7e87b8a00398e5 100755 (executable)
@@ -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 "<item>\n" .
                              "<title>" . esc_html($co{'title'}) . "</title>\n" .
This page took 0.282083 seconds and 4 git commands to generate.