summaryrefslogtreecommitdiffstats
path: root/app/views/repositories
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-02-28 19:33:07 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-02-28 19:33:07 +0000
commitc56b95ed6878e5d3ead466585295bd52ab240392 (patch)
tree1625f7cdf6fd95f47419f5f5512f6e7309286ec9 /app/views/repositories
parentbb3a5bcfd7af85322dcb76229058ca21b6e1c401 (diff)
downloadredmine-c56b95ed6878e5d3ead466585295bd52ab240392.tar.gz
redmine-c56b95ed6878e5d3ead466585295bd52ab240392.zip
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
Diffstat (limited to 'app/views/repositories')
-rw-r--r--app/views/repositories/diff.rhtml4
1 files changed, 4 insertions, 0 deletions
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
%>