summaryrefslogtreecommitdiff
path: root/app/views/projects/diffs/_stats.html.haml
diff options
context:
space:
mode:
authorPaco Guzman <pacoguzmanp@gmail.com>2016-07-28 14:44:00 +0200
committerPaco Guzman <pacoguzmanp@gmail.com>2016-07-29 13:22:22 +0200
commit6595d6aab078497293d657cd05d0af61c6cbda0b (patch)
tree4be3c7e71d0982c886507d61a2a09249629d892e /app/views/projects/diffs/_stats.html.haml
parent242f8377264973d642b46e5d2800ef3d3bd4c0fa (diff)
downloadgitlab-ce-6595d6aab078497293d657cd05d0af61c6cbda0b.tar.gz
Bump gitlab_git to speedup DiffCollection iterations
Diffstat (limited to 'app/views/projects/diffs/_stats.html.haml')
-rw-r--r--app/views/projects/diffs/_stats.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/diffs/_stats.html.haml b/app/views/projects/diffs/_stats.html.haml
index ea2a3e01277..e751dabdf99 100644
--- a/app/views/projects/diffs/_stats.html.haml
+++ b/app/views/projects/diffs/_stats.html.haml
@@ -2,7 +2,7 @@
.commit-stat-summary
Showing
= link_to '#', class: 'js-toggle-button' do
- %strong #{pluralize(diff_files.count, "changed file")}
+ %strong #{pluralize(diff_files.size, "changed file")}
with
%strong.cgreen #{diff_files.sum(&:added_lines)} additions
and