diff options
author | Fatih Acet <acetfatih@gmail.com> | 2018-10-03 20:14:39 +0200 |
---|---|---|
committer | Fatih Acet <acetfatih@gmail.com> | 2018-10-03 21:37:54 +0200 |
commit | 8aedb71c4900021ca74e188873278ac40356f40e (patch) | |
tree | d7fddfd11ee470b8e336019ba8b8000e1ead985e /app/serializers | |
parent | e3b96ad76bfc1a64218abb731029bd95584abe7f (diff) | |
download | gitlab-ce-8aedb71c4900021ca74e188873278ac40356f40e.tar.gz |
Fix showing diff file header for renamed files
Diffstat (limited to 'app/serializers')
-rw-r--r-- | app/serializers/diff_file_entity.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/serializers/diff_file_entity.rb b/app/serializers/diff_file_entity.rb index cbe6f200b86..c193ed10fef 100644 --- a/app/serializers/diff_file_entity.rb +++ b/app/serializers/diff_file_entity.rb @@ -84,7 +84,7 @@ class DiffFileEntity < Grape::Entity end expose :old_path_html do |diff_file| - old_path = mark_inline_diffs(diff_file.old_path, diff_file.new_path) + old_path, _ = mark_inline_diffs(diff_file.old_path, diff_file.new_path) old_path end |