diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-05-07 10:28:50 +0000 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-05-07 10:28:50 +0000 |
commit | 7a23be3ab7c8b3911a35686516ac7fe3f43c81a6 (patch) | |
tree | 79b2fc7546ff140c54f62863a238a9eb4dddd56f /lib/api/system_hooks.rb | |
parent | 60887cf94904e10cd26246301d09a49be49ef5fa (diff) | |
parent | 03138a3c72d9ccdfda6398564c6183de70c68df5 (diff) | |
download | gitlab-ce-7a23be3ab7c8b3911a35686516ac7fe3f43c81a6.tar.gz |
Merge branch 'fix-default-branch' into 'master'
Make the first branch pushed to an empty repository the default HEAD
In an empty repository, pushing a new branch not called "master" would leave HEAD in an unknown state, causing ambiguity if another branch were pushed. This could in turn cause a new protected branch to be created and cause the default branch to change.
* Closes #1561
* Closes #1576
* Closes https://github.com/gitlabhq/gitlabhq/issues/8883
See merge request !614
Diffstat (limited to 'lib/api/system_hooks.rb')
0 files changed, 0 insertions, 0 deletions