Fix Migrate Description - backport (#17727)

This commit is contained in:
99rgosse 2021-11-19 10:52:47 +01:00 committed by GitHub
parent 6f3596e33c
commit 7be2d7b136
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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 = repository.MigrateRepositoryGitData(g.ctx, owner, r, base.MigrateOptions{
RepoName: g.repoName,