1
1
mirror of https://github.com/go-gitea/gitea synced 2024-06-02 01:15:48 +00:00

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

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,