From 5babbf84a3f98003a9443fe04fdc0df64eea97a9 Mon Sep 17 00:00:00 2001 From: Todd Zullinger Date: Mon, 17 Mar 2008 15:39:12 -0400 Subject: initial import from CVS tag git-1_5_4_4-1_fc9 --- git-gitweb-commitdiff.patch | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 git-gitweb-commitdiff.patch (limited to 'git-gitweb-commitdiff.patch') diff --git a/git-gitweb-commitdiff.patch b/git-gitweb-commitdiff.patch new file mode 100644 index 0000000..0dc90e9 --- /dev/null +++ b/git-gitweb-commitdiff.patch @@ -0,0 +1,34 @@ +commit e62a641de17b172ffc4d3a803085c8afbfbec3d1 +Author: Florian La Roche +Date: Sun Feb 3 12:38:46 2008 +0100 + + 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 + Signed-off-by: Jakub Narebski + Signed-off-by: Junio C Hamano + +diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl +index ae2d057..8ef2735 100755 +--- a/gitweb/gitweb.perl ++++ b/gitweb/gitweb.perl +@@ -5565,7 +5565,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 "\n" . + "" . esc_html($co{'title'}) . "\n" . -- cgit