From f4bc6f2c30776126cc8963ea3f56d836a16a2173 Mon Sep 17 00:00:00 2001 From: Thomas Randolph Date: Tue, 14 Jul 2020 16:57:36 -0600 Subject: [PATCH 1/2] Default the feature flag to true --- app/views/admin/application_settings/repository.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/admin/application_settings/repository.html.haml b/app/views/admin/application_settings/repository.html.haml index 11de79cf4a2eaf..33a6715d42409a 100644 --- a/app/views/admin/application_settings/repository.html.haml +++ b/app/views/admin/application_settings/repository.html.haml @@ -2,7 +2,7 @@ - page_title _("Repository") - @content_class = "limit-container-width" unless fluid_layout -- if Feature.enabled?(:global_default_branch_name) +- if Feature.enabled?(:global_default_branch_name, default_enabled: true) %section.settings.as-default-branch-name.no-animate#js-default-branch-name{ class: ('expanded' if expanded_by_default?) } .settings-header %h4 -- GitLab From 5c0c9c96852f98a410f58745ba7113529c8f1395 Mon Sep 17 00:00:00 2001 From: Thomas Randolph Date: Tue, 14 Jul 2020 16:57:57 -0600 Subject: [PATCH 2/2] Changelog for enabling the default initial branch setting FF --- changelogs/unreleased/branch-name-default-to-true.yml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 changelogs/unreleased/branch-name-default-to-true.yml diff --git a/changelogs/unreleased/branch-name-default-to-true.yml b/changelogs/unreleased/branch-name-default-to-true.yml new file mode 100644 index 00000000000000..58a2d015a02dfa --- /dev/null +++ b/changelogs/unreleased/branch-name-default-to-true.yml @@ -0,0 +1,6 @@ +--- +title: Default the feature flag to true to always show the default initial branch + name setting +merge_request: 36889 +author: +type: added -- GitLab