]> source.dussan.org Git - redmine.git/commitdiff
Fixed: new line at the end of a file is not displayed in diff.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Mon, 2 Jun 2008 20:14:06 +0000 (20:14 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Mon, 2 Jun 2008 20:14:06 +0000 (20:14 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1487 e93f8b46-1217-0410-a6f0-8f06a7374b81

lib/redmine/scm/adapters/abstract_adapter.rb

index 2c254d48d26d6c8eb995b552c75be3aa5bc62cda..8fbae9ff8027ce2ffa8a4593bfb0187547163581 100644 (file)
@@ -279,7 +279,6 @@ module Redmine
             end
           else
             if line =~ /^[^\+\-\s@\\]/
-              self.delete(self.keys.sort.last)
               @parsing = false
               return false
             elsif line =~ /^@@ (\+|\-)(\d+)(,\d+)? (\+|\-)(\d+)(,\d+)? @@/