Commit 83a126f6 authored by Rémy Coutable's avatar Rémy Coutable

Resolve conflict in lib/gitlab/git_access.rb

parent 3b0ce3db
......@@ -259,7 +259,6 @@ module Gitlab
# If user does not have access to make at least one change, cancel all
# push by allowing the exception to bubble up
check_single_change_access(change, skip_lfs_integrity_check: !first_change)
<<<<<<< HEAD
if project.size_limit_enabled?
push_size_in_bytes += EE::Gitlab::Deltas.delta_size_check(change, project.repository)
......@@ -268,8 +267,6 @@ module Gitlab
if project.changes_will_exceed_size_limit?(push_size_in_bytes)
raise UnauthorizedError, Gitlab::RepositorySizeError.new(project).new_changes_error
=======
>>>>>>> upstream/master
end
end
......
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