gitlab-org--gitlab-foss/lib
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
..
api Fix an error where we were unable to create a CommitStatus for running state 2016-09-12 12:20:18 +02:00
assets
backup lib/backup: fix broken permissions when creating repo dir 2016-08-30 13:35:50 +02:00
banzai Merge branch 'js-tooltips-for-mentions' into 'master' 2016-09-01 14:36:09 +00:00
ci Merge branch 'gitlab-workhorse-safeties' into 'master' 2016-09-09 11:33:08 +00:00
container_registry
gitlab Avoid protected branches checks when verifying access without branch name 2016-09-13 11:50:13 +02:00
json_web_token
omni_auth
rouge/formatters
support Revert "Defend against 'Host' header injection" 2016-08-08 13:02:44 +02:00
tasks Use `File::exist?` instead of `File::exists?` 2016-08-11 13:54:45 +03:00
banzai.rb
disable_email_interceptor.rb
event_filter.rb
extracts_path.rb Restore get_id in ExtractsPath 2016-08-24 12:54:16 +02:00
file_size_validator.rb
file_streamer.rb
gitlab.rb
gt_one_coercion.rb
repository_cache.rb
static_model.rb
unfold_form.rb
uploaded_file.rb
version_check.rb