summaryrefslogtreecommitdiff
path: root/lib/gitlab/checks/single_change_access.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/checks/single_change_access.rb')
-rw-r--r--lib/gitlab/checks/single_change_access.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/gitlab/checks/single_change_access.rb b/lib/gitlab/checks/single_change_access.rb
index 2fd48dfbfe2..8e12801daee 100644
--- a/lib/gitlab/checks/single_change_access.rb
+++ b/lib/gitlab/checks/single_change_access.rb
@@ -35,7 +35,8 @@ module Gitlab
end
def commits
- @commits ||= project.repository.new_commits(newrev)
+ @commits ||= project.repository.new_commits(newrev,
+ allow_quarantine: Feature.enabled?(:filter_quarantined_commits))
end
protected