summaryrefslogtreecommitdiff
path: root/app/helpers/commits_helper.rb
diff options
context:
space:
mode:
authorJacob Vosmaer <contact@jacobvosmaer.nl>2016-03-04 15:47:11 +0100
committerJacob Vosmaer <contact@jacobvosmaer.nl>2016-03-04 15:47:11 +0100
commit4cb3a4a73eb9f650bf2f16a10030861b1b7b9997 (patch)
tree762cdb61f8f83f96ed4239d11445fcbef053de58 /app/helpers/commits_helper.rb
parentf943156b5e4cf5e00ea5373de55deb993c72662d (diff)
downloadgitlab-ce-4cb3a4a73eb9f650bf2f16a10030861b1b7b9997.tar.gz
Remove outdated comment
Diffstat (limited to 'app/helpers/commits_helper.rb')
-rw-r--r--app/helpers/commits_helper.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/helpers/commits_helper.rb b/app/helpers/commits_helper.rb
index 4353ceaa757..f994c9e6170 100644
--- a/app/helpers/commits_helper.rb
+++ b/app/helpers/commits_helper.rb
@@ -214,7 +214,6 @@ module CommitsHelper
def limited_commits(commits)
if commits.size > MergeRequestDiff::COMMITS_SAFE_SIZE
- # Not 100% sure we need to decorate but it is idempotent and not so slow
[
commits.first(MergeRequestDiff::COMMITS_SAFE_SIZE),
commits.size - MergeRequestDiff::COMMITS_SAFE_SIZE