Skip to content

Fix "protected branches only" checkbox not set properly at init

Stan Hu requested to merge sh-fix-mirrors-protected-branches into master

The only_protected_branches value was being enabled by default even though the checkbox was default off. In EE, this wasn't a problem because there was EE-specific code to update the entire form.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/53515

Merge request reports