From: Jean-Philippe Lang Date: Wed, 28 Feb 2007 19:33:07 +0000 (+0000) Subject: patch #8936: Properties changes in a diff are showing as modifications to files X-Git-Tag: 0.5.0~128 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c56b95ed6878e5d3ead466585295bd52ab240392;p=redmine.git patch #8936: Properties changes in a diff are showing as modifications to files git-svn-id: http://redmine.rubyforge.org/svn/trunk@283 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/repositories/diff.rhtml b/app/views/repositories/diff.rhtml index 776d920af..90fbb6025 100644 --- a/app/views/repositories/diff.rhtml +++ b/app/views/repositories/diff.rhtml @@ -22,6 +22,10 @@ line_num_r = 0 %> line_num_r = $5.to_i parsing = true next + elsif line =~ /^_+$/ + # We have reached the 'Properties' section. + parsing = false + next end next unless parsing %>