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 Limit git rev-list output count to one in forced push check 2016-07-19 21:22:58 +02:00
matching_merge_request.rb Revert "Revert "Merge branch '18193-developers-can-merge' into 'master' "" 2016-07-18 10:16:56 +02:00