git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
FRFlorian La Roche <laroche@redhat.com>
Date
Jan 10, 2008, 13:09 UTC
Message-ID
<20080110130900.GA9395@dudweiler.stuttgart.redhat.com>
[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
Next: Junio C Hamano
Message 1 of 4 in “gitweb: Change feeds from commit to commitdiff output.”
  1. gitweb: Change feeds from commit to commitdiff output.Florian La Roche, Jan 10, 2008
  2. Junio C HamanoJan 10, 2008
  3. Florian La RocheJan 11, 2008
  4. Jakub NarebskiJan 11, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.