Fixed that git diff displays deleted files as /dev/null (#11868).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10424 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2012-09-18 19:32:58 +00:00
parent 74f7fc38f0
commit 12de6a177a
5 changed files with 37 additions and 9 deletions
+1 -1
View File
@@ -15,7 +15,7 @@
:onchange => "if (this.value != '') {this.form.submit()}" %>
<% end %>
</p>
<%= render :partial => 'common/diff', :locals => {:diff => @diff, :diff_type => @diff_type} %>
<%= render :partial => 'common/diff', :locals => {:diff => @diff, :diff_type => @diff_type, :diff_style => nil} %>
<% html_title @attachment.filename %>