Commit 4168774e authored by Tiago Botelho's avatar Tiago Botelho

Fix lib/gitlab/git_access.rb conflict

parent da01bdf3
...@@ -2,12 +2,9 @@ ...@@ -2,12 +2,9 @@
# class return an instance of `GitlabAccessStatus` # class return an instance of `GitlabAccessStatus`
module Gitlab module Gitlab
class GitAccess class GitAccess
<<<<<<< HEAD
prepend ::EE::Gitlab::GitAccess prepend ::EE::Gitlab::GitAccess
include ActionView::Helpers::SanitizeHelper include ActionView::Helpers::SanitizeHelper
include PathLocksHelper include PathLocksHelper
=======
>>>>>>> upstream/master
include Gitlab::Utils::StrongMemoize include Gitlab::Utils::StrongMemoize
UnauthorizedError = Class.new(StandardError) UnauthorizedError = Class.new(StandardError)
...@@ -237,7 +234,6 @@ module Gitlab ...@@ -237,7 +234,6 @@ module Gitlab
end end
return if changes.blank? # Allow access this is needed for EE. return if changes.blank? # Allow access this is needed for EE.
<<<<<<< HEAD
if project.above_size_limit? if project.above_size_limit?
raise UnauthorizedError, Gitlab::RepositorySizeError.new(project).push_error raise UnauthorizedError, Gitlab::RepositorySizeError.new(project).push_error
...@@ -251,12 +247,6 @@ module Gitlab ...@@ -251,12 +247,6 @@ module Gitlab
check_change_access!(changes) check_change_access!(changes)
end end
=======
check_change_access!(changes)
end
>>>>>>> upstream/master
def check_change_access!(changes) def check_change_access!(changes)
changes_list = Gitlab::ChangesList.new(changes) changes_list = Gitlab::ChangesList.new(changes)
......
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