Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
e5859953
Commit
e5859953
authored
Jul 15, 2020
by
Thomas Randolph
Committed by
Phil Hughes
Jul 15, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set feature flag `global_default_branch_name` to default to true
parent
4a513828
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
app/views/admin/application_settings/repository.html.haml
app/views/admin/application_settings/repository.html.haml
+1
-1
changelogs/unreleased/branch-name-default-to-true.yml
changelogs/unreleased/branch-name-default-to-true.yml
+6
-0
No files found.
app/views/admin/application_settings/repository.html.haml
View file @
e5859953
...
...
@@ -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
...
...
changelogs/unreleased/branch-name-default-to-true.yml
0 → 100644
View file @
e5859953
---
title
:
Default the feature flag to
true
to always show the default initial branch
name setting
merge_request
:
36889
author
:
type
:
added
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment