Commit 4cb3a4a7 authored by Jacob Vosmaer's avatar Jacob Vosmaer

Remove outdated comment

parent f943156b
...@@ -214,7 +214,6 @@ module CommitsHelper ...@@ -214,7 +214,6 @@ module CommitsHelper
def limited_commits(commits) def limited_commits(commits)
if commits.size > MergeRequestDiff::COMMITS_SAFE_SIZE 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.first(MergeRequestDiff::COMMITS_SAFE_SIZE),
commits.size - MergeRequestDiff::COMMITS_SAFE_SIZE commits.size - MergeRequestDiff::COMMITS_SAFE_SIZE
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment