Skip to content

Commit

Permalink
gitweb: Make feed entries point to commitdiff view
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Florian La Roche authored and Junio C Hamano committed Feb 6, 2008
1 parent c586879 commit e62a641
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gitweb/gitweb.perl
Original file line number Diff line number Diff line change
Expand Up @@ -5565,7 +5565,7 @@ sub git_feed {
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" .
Expand Down

0 comments on commit e62a641

Please sign in to comment.