Skip to content
Snippets Groups Projects
Commit 78967998 authored by Georges Racinet's avatar Georges Racinet
Browse files

default branch: setting method, in RepositoryService

In current GitLab, setting the default branch from the
Rails app is done by the `Project` model, which
in turn does:

  repository.raw_repository.write_ref('HEAD', "refs/heads/#{branch}")

and write_ref is provided by RepositoryService
parent 8f37591c
No related branches found
No related tags found
No related merge requests found
Pipeline #7027 passed with warnings
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment