Commit 66a96626 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge branch 'sh-remove-feature-flag-diverging-commits' into 'master'

Remove feature flag for limiting diverging commit counts

See merge request gitlab-org/gitlab!20999
parents cb759668 e24c4171
...@@ -133,8 +133,6 @@ class Projects::BranchesController < Projects::ApplicationController ...@@ -133,8 +133,6 @@ class Projects::BranchesController < Projects::ApplicationController
# frontend could omit this set. To prevent excessive I/O, we require # frontend could omit this set. To prevent excessive I/O, we require
# that a list of names be specified. # that a list of names be specified.
def limit_diverging_commit_counts! def limit_diverging_commit_counts!
return unless Feature.enabled?(:limit_diverging_commit_counts, default_enabled: true)
limit = Kaminari.config.default_per_page limit = Kaminari.config.default_per_page
# If we don't have many branches in the repository, then go ahead. # If we don't have many branches in the repository, then go ahead.
......
---
title: Remove feature flag for limiting diverging commit counts
merge_request: 20999
author:
type: other
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