]> source.dussan.org Git - gitea.git/commit
On Migration respect old DefaultBranch (#12843) (#12858)
author6543 <6543@obermui.de>
Tue, 15 Sep 2020 16:12:07 +0000 (18:12 +0200)
committerGitHub <noreply@github.com>
Tue, 15 Sep 2020 16:12:07 +0000 (12:12 -0400)
commit6305f07fdc1cc4f1dc4f04108ca9ad3e1833b3f2
tree7b040e16cd2ade6c99c4f8f877f514f7f2f8d67f
parentff9d99f63ddb795f543a82dcf5d148da5a4cf072
On Migration respect old DefaultBranch (#12843) (#12858)

* On Migration respect old DefaultBranch

* add DefaultBranch int test set

Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: zeripath <art27@cantab.net>
modules/migrations/base/repo.go
modules/migrations/gitea.go
modules/migrations/github.go
modules/migrations/github_test.go
modules/migrations/gitlab.go
modules/migrations/gitlab_test.go
modules/repository/repo.go