diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/views/commits/_diffs.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/commits/_diffs.html.haml b/app/views/commits/_diffs.html.haml index a97d6711a43..3f4d51f753a 100644 --- a/app/views/commits/_diffs.html.haml +++ b/app/views/commits/_diffs.html.haml @@ -18,7 +18,7 @@ - next if diff.diff.empty? - file = Gitlab::Git::Blob.new(@repository, @commit.id, @ref, diff.new_path) - file = Gitlab::Git::Blob.new(@repository, @commit.parent_id, @ref, diff.old_path) unless file.exists? - - next unless file + - next unless file.exists? .file{id: "diff-#{i}"} .header - if diff.deleted_file |