summaryrefslogtreecommitdiffstats
path: root/app/views/attachments
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-09-18 19:32:58 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-09-18 19:32:58 +0000
commit12de6a177ac2a5aa32c54a5972e16170098a4426 (patch)
treebc9b7031d32ff1f4dcdeab66008bd7153de661bd /app/views/attachments
parent74f7fc38f078e8574e15fbf860dd9e4c58f7000a (diff)
downloadredmine-12de6a177ac2a5aa32c54a5972e16170098a4426.tar.gz
redmine-12de6a177ac2a5aa32c54a5972e16170098a4426.zip
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
Diffstat (limited to 'app/views/attachments')
-rw-r--r--app/views/attachments/diff.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/attachments/diff.html.erb b/app/views/attachments/diff.html.erb
index 5359d4eea..f429ba3f8 100644
--- a/app/views/attachments/diff.html.erb
+++ b/app/views/attachments/diff.html.erb
@@ -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 %>