gitlab-org--gitlab-foss/lib/gitlab/checks
Paco Guzman 08871cc36a Avoid protected branches checks when verifying access without branch name
GitlabShell verify access sending ‘_any’ as the changes made on the git command, in those cases Gitlab::Checks::ChangeAccess won’t receive a branch_name so we don’t need to check for access to the 
protected branches on that repository. So we avoid some git operations in case the are not cached (empty_repo?) and some database lookups to get protected branches.

These request is happening in every push.
2016-09-13 11:50:13 +02:00
..
change_access.rb Avoid protected branches checks when verifying access without branch name 2016-09-13 11:50:13 +02:00
force_push.rb
matching_merge_request.rb