Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2016-07-07 02:29:41 +0300
committerDouwe Maan <douwe@selenight.nl>2016-07-07 02:29:41 +0300
commitac26b23712963b0471db9742fc340ea4fb8935a9 (patch)
tree3eb3eea43ed5ffe83b453807ceef00488a0fe2e5 /app/views
parent2db75f8debd96c48c6cb8548824dd72bd71fb176 (diff)
Remove duplication, unused methods, and some other style things
Diffstat (limited to 'app/views')
-rw-r--r--app/views/projects/diffs/_diffs.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/diffs/_diffs.html.haml b/app/views/projects/diffs/_diffs.html.haml
index 8f252282692..1975287faee 100644
--- a/app/views/projects/diffs/_diffs.html.haml
+++ b/app/views/projects/diffs/_diffs.html.haml
@@ -23,7 +23,7 @@
.files
- diff_files.each_with_index do |diff_file, index|
- - diff_commit = diff_file.content_commit || commit_for_diff(diff_file)
+ - diff_commit = commit_for_diff(diff_file)
- blob = diff_file.blob(diff_commit)
- next unless blob
- blob.load_all_data!(project.repository) unless blob.only_display_raw?