Skip to content

Commit e62a641

Browse files
Florian La Rochegitster
authored andcommitted
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 <[email protected]> Signed-off-by: Jakub Narebski <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent c586879 commit e62a641

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gitweb/gitweb.perl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5565,7 +5565,7 @@ sub git_feed {
55655565
or next;
55665566

55675567
# 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);
55695569
if ($format eq 'rss') {
55705570
print "<item>\n" .
55715571
"<title>" . esc_html($co{'title'}) . "</title>\n" .

0 commit comments

Comments
 (0)