]> source.dussan.org Git - redmine.git/commitdiff
patch #8936: Properties changes in a diff are showing as modifications to files
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Wed, 28 Feb 2007 19:33:07 +0000 (19:33 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Wed, 28 Feb 2007 19:33:07 +0000 (19:33 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@283 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/repositories/diff.rhtml

index 776d920af7f9a7c0ba37bc91f7a999a1ace0bf59..90fbb60258122272e0fcea9ed5bd4c86c8a7ce09 100644 (file)
@@ -22,6 +22,10 @@ line_num_r = 0 %>
      line_num_r = $5.to_i\r
      parsing = true\r
      next\r
+   elsif line =~ /^_+$/\r
+     # We have reached the 'Properties' section.\r
+     parsing = false\r
+     next\r
    end\r
    next unless parsing\r
 %>\r