Ignore empty diffs.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1014 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2007-12-19 20:11:44 +00:00
parent 4a2efa9252
commit e219af1fbd
1 changed files with 2 additions and 1 deletions

View File

@ -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