gitlab-org--gitlab-foss/app/services
Stan Hu 03138a3c72 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
2015-05-05 23:49:30 -07:00
..
files Use more specific regexes. 2015-03-27 11:09:29 +01:00
issues No magic numbers for issues filtering 2015-03-26 18:56:42 -07:00
merge_requests Let commit model know about its project. 2015-04-24 12:29:36 +02:00
milestones Merge branch 'group_milestones' into 'master' 2014-07-01 07:18:15 +00:00
notes Link cross-project cross-reference notes to correct project. 2015-04-24 12:30:36 +02:00
oauth2 Rubocop: no trailing newlines 2015-02-02 21:53:27 -08:00
projects Use Projects::CreateService to fork projects so that after-create hooks are run. 2015-04-24 22:58:27 +02:00
search Adding in snippet search functionality 2014-08-29 15:32:07 -04:00
archive_repository_service.rb Add tests. 2015-03-31 13:37:21 +02:00
base_service.rb Enforce restricted visibilities for snippets 2015-03-08 17:57:08 -06:00
compare_service.rb Comment typo. 2014-08-29 20:11:57 +02:00
create_branch_service.rb Ecevute hooks and services when branches are created/deleted through web. 2015-03-13 16:07:02 +01:00
create_snippet_service.rb Enforce restricted visibilities for snippets 2015-03-08 17:57:08 -06:00
create_tag_service.rb Use project.commit convenience method. 2015-04-24 12:29:36 +02:00
delete_branch_service.rb Ecevute hooks and services when branches are created/deleted through web. 2015-03-13 16:07:02 +01:00
delete_tag_service.rb Move tag deletion to service and execute hooks and services. 2015-03-13 16:07:08 +01:00
event_create_service.rb Use PushDataBuilder where applicable. 2015-03-13 16:06:56 +01:00
git_push_service.rb Make the first branch pushed to an empty repository the default HEAD. 2015-05-05 23:49:30 -07:00
git_tag_push_service.rb Use project.commit convenience method. 2015-04-24 12:29:36 +02:00
gravatar_service.rb Improve application settings and write tests 2015-01-08 09:53:35 -08:00
issuable_base_service.rb Add labels notes 2015-02-08 22:35:41 +06:00
notification_service.rb No longer needed to pass project argument to commit methods. 2015-04-24 12:29:36 +02:00
system_hooks_service.rb Revert "Added X-GitLab-Event header for web hooks" 2015-04-27 16:29:31 +03:00
test_hook_service.rb Revert "Added X-GitLab-Event header for web hooks" 2015-04-27 16:29:31 +03:00
update_snippet_service.rb Enforce restricted visibilities for snippets 2015-03-08 17:57:08 -06:00