Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: techknowlogick <techknowlogick@gitea.io> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>tags/v1.16.0-rc1
@@ -109,6 +109,7 @@ func (g *GiteaLocalUploader) CreateRepo(repo *base.Repository, opts base.Migrate | |||
return err | |||
} | |||
r.DefaultBranch = repo.DefaultBranch | |||
r.Description = repo.Description | |||
r, err = repo_module.MigrateRepositoryGitData(g.ctx, owner, r, base.MigrateOptions{ | |||
RepoName: g.repoName, |