From e219af1fbd96a069b46443202fef9fab1a51bd38 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Wed, 19 Dec 2007 20:11:44 +0000 Subject: [PATCH] Ignore empty diffs. git-svn-id: http://redmine.rubyforge.org/svn/trunk@1014 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- lib/redmine/scm/adapters/abstract_adapter.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/redmine/scm/adapters/abstract_adapter.rb b/lib/redmine/scm/adapters/abstract_adapter.rb index c93fc6350..138d7e647 100644 --- a/lib/redmine/scm/adapters/abstract_adapter.rb +++ b/lib/redmine/scm/adapters/abstract_adapter.rb @@ -237,7 +237,8 @@ module Redmine end a = diff_table.add_line line end - self << diff_table + self << diff_table unless diff_table.empty? + self end end -- 2.39.5