From 891a71ad474812ce0108d84d649706dc64336c90 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Mon, 2 Jun 2008 20:14:06 +0000 Subject: [PATCH] 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 --- lib/redmine/scm/adapters/abstract_adapter.rb | 1 - 1 file changed, 1 deletion(-) 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+)? @@/ -- 2.39.5