From: Jean-Philippe Lang Date: Mon, 2 Jun 2008 20:14:06 +0000 (+0000) Subject: Fixed: new line at the end of a file is not displayed in diff. X-Git-Tag: 0.8.0-RC1~494 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=891a71ad474812ce0108d84d649706dc64336c90;p=redmine.git Fixed: new line at the end of a file is not displayed in diff. git-svn-id: http://redmine.rubyforge.org/svn/trunk@1487 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/lib/redmine/scm/adapters/abstract_adapter.rb b/lib/redmine/scm/adapters/abstract_adapter.rb index 2c254d48d..8fbae9ff8 100644 --- a/lib/redmine/scm/adapters/abstract_adapter.rb +++ b/lib/redmine/scm/adapters/abstract_adapter.rb @@ -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+)? @@/