Skip to content
代码片段 群组 项目
  • Paco Guzman's avatar
    08871cc3
    Avoid protected branches checks when verifying access without branch name · 08871cc3
    Paco Guzman 创作于
    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.
    08871cc3
    历史
    Avoid protected branches checks when verifying access without branch name
    Paco Guzman 创作于
    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.
代码所有者
将用户和群组指定为特定文件更改的核准人。 了解更多。