Page MenuHomePhabricator
Authored By
CDanis
Jun 22 2020, 5:23 PM
Size
639 B
Referenced Files
None
Subscribers
None
Subject: Allow configuring the default HEAD branch name for newly-created repositories
All the Create Project interfaces (ssh, REST, web UI) have a default HEAD name of 'master' for the new project. ssh and REST API allow you to specify branch names, but the web UI seems to not.
The default set of branches for a new project is hardcoded as originating from jgit constants, meaning that maintainers of Gerrit installations can't change the default on their installations whether or not they want to.
Shouldn't this be made configurable? Many organizations (e.g. Github) are switching their own default HEAD name for new repositories.

File Metadata

Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
8438250
Default Alt Text
raw.txt (639 B)

Event Timeline