Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/git_access.rb')
-rw-r--r--lib/gitlab/git_access.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/git_access.rb b/lib/gitlab/git_access.rb
index 9d19695363a..a28952ab7bc 100644
--- a/lib/gitlab/git_access.rb
+++ b/lib/gitlab/git_access.rb
@@ -513,7 +513,7 @@ module Gitlab
end
def check_size_against_limit(size)
- if size_checker.changes_will_exceed_size_limit?(size)
+ if size_checker.changes_will_exceed_size_limit?(size, project)
raise ForbiddenError, size_checker.error_message.new_changes_error
end
end