]> source.dussan.org Git - gitea.git/commit
Fix incorrect default branch when adopt a repository (#30912) (#30928)
authoryp05327 <576951401@qq.com>
Fri, 10 May 2024 12:00:01 +0000 (21:00 +0900)
committerGitHub <noreply@github.com>
Fri, 10 May 2024 12:00:01 +0000 (12:00 +0000)
commit2200c41ffd7dc84faa1de61941603af11b3412f2
treeb7a3fb193e74d796177f21da5d78fdc5d8cceed0
parent45475250bd3353c8ec77c9379cc851eac96a23a6
Fix incorrect default branch when adopt a repository (#30912) (#30928)

Backport #30912

ps: removed useless `u *user_model.User` for `adoptRepository`
services/repository/adopt.go