git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Florian La Roche <laroche@redhat.com>
To: git@vger.kernel.org, gitster@pobox.com
Subject: [PATCH] gitweb: Change feeds from commit to commitdiff output.
Date: Thu, 10 Jan 2008 14:09:00 +0100	[thread overview]
Message-ID: <20080110130900.GA9395@dudweiler.stuttgart.redhat.com> (raw)

[PATCH] gitweb: Change feeds from commit to commitdiff output.

Change feeds from displaying the commit to displaying the commitdiff
output. This way the patches are shown directly and code review is
done more easily via watching feeds.

Signed-off-by: Florian La Roche <laroche@redhat.com>
---
 gitweb/gitweb.perl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl
index 6256641..0db83c0 100755
--- a/gitweb/gitweb.perl
+++ b/gitweb/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 "<item>\n" .
 			      "<title>" . esc_html($co{'title'}) . "</title>\n" .
-- 
1.5.3.8

             reply	other threads:[~2008-01-10 13:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-10 13:09 Florian La Roche [this message]
2008-01-10 20:21 ` [PATCH] gitweb: Change feeds from commit to commitdiff output Junio C Hamano
2008-01-11  6:53   ` Florian La Roche
2008-01-11 11:12 ` Jakub Narebski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080110130900.GA9395@dudweiler.stuttgart.redhat.com \
    --to=laroche@redhat.com \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).