summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author99rgosse <61579380+99rgosse@users.noreply.github.com>2021-11-18 16:28:10 +0100
committerGitHub <noreply@github.com>2021-11-18 23:28:10 +0800
commite1d655991b2d6caf332918bda267ec57edf58bb7 (patch)
treef8b0f26a454c39c3449954c4e22b66d55d050898
parentc3e020ca3404cc07e78e13e975eb7e712670e137 (diff)
downloadgitea-e1d655991b2d6caf332918bda267ec57edf58bb7.tar.gz
gitea-e1d655991b2d6caf332918bda267ec57edf58bb7.zip
Fix Migrate Description (#17692)
Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: techknowlogick <techknowlogick@gitea.io> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
-rw-r--r--services/migrations/gitea_uploader.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/services/migrations/gitea_uploader.go b/services/migrations/gitea_uploader.go
index 5eecaf6c56..0f215e05d6 100644
--- a/services/migrations/gitea_uploader.go
+++ b/services/migrations/gitea_uploader.go
@@ -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,