diff --git a/lib/redmine/scm/adapters/abstract_adapter.rb b/lib/redmine/scm/adapters/abstract_adapter.rb index c93fc635..138d7e64 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