Skip to content
Snippets Groups Projects
Commit 0396f387 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets Committed by Marin Jankovski
Browse files

Fix 500 error on diff if file permission changed

parent 8ccae3c3
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -12,7 +12,7 @@
- else
%span= diff_file.new_path
- if diff_file.mode_changed?
%span.file-mode= "#{diff.a_mode}#{diff.b_mode}"
%span.file-mode= "#{diff_file.diff.a_mode}#{diff_file.diff.b_mode}"
 
.diff-btn-group
- unless params[:view] == 'parallel'
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment