Fixing some issues with project default branches, adding tests for that too
This commit is contained in:
parent
2bff0270cf
commit
cb53ec9c6d
6 changed files with 111 additions and 9 deletions
|
|
@ -76,6 +76,10 @@ class ProjectService
|
|||
$project->setAllowPublicStatus((int)$options['allow_public_status']);
|
||||
}
|
||||
|
||||
if (array_key_exists('branch', $options)) {
|
||||
$project->setBranch($options['branch']);
|
||||
}
|
||||
|
||||
// Allow certain project types to set access information:
|
||||
$this->processAccessInformation($project);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue