enable RebaseMerge by default for new repositories

This commit is contained in:
Julian Tölle 2018-07-24 14:06:41 +02:00
parent 9a4aefa076
commit 90a7c96656

View File

@ -1355,7 +1355,7 @@ func createRepository(e *xorm.Session, doer, u *User, repo *Repository) (err err
units = append(units, RepoUnit{
RepoID: repo.ID,
Type: tp,
Config: &PullRequestsConfig{AllowMerge: true, AllowRebase: true, AllowSquash: true},
Config: &PullRequestsConfig{AllowMerge: true, AllowRebase: true, AllowRebaseMerge: true, AllowSquash: true},
})
} else {
units = append(units, RepoUnit{