]> source.dussan.org Git - gitea.git/commit
On Migration respect old DefaultBranch (#12843)
author6543 <6543@obermui.de>
Tue, 15 Sep 2020 14:37:44 +0000 (16:37 +0200)
committerGitHub <noreply@github.com>
Tue, 15 Sep 2020 14:37:44 +0000 (22:37 +0800)
commit6c61f498ea6edb9260bc2b2b8db5bc3cb9214522
tree9d1322d4ff85aec9d24f98f65d72c5a54cc1838d
parent3d0ad2885a25012ba08c42a4ed181dc22dd72770
On Migration respect old DefaultBranch (#12843)

* On Migration respect old DefaultBranch

* add DefaultBranch int test set

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