0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-29 10:24:38 +01:00
gitea/services/migrations
Chongyi Zheng 81ea4f95a0
Handle branch name with prefix in GitHub migration (#20357)
GitHub allows releases with target commitish `refs/heads/BRANCH`, which
then causes issues in Gitea after migration. This fix handles cases that
a branch already has a prefix.

Fixes #20317

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2022-11-03 10:32:52 +08:00
..
codebase_test.go
codebase.go
common.go
dump.go
error.go
git.go
gitbucket.go
gitea_downloader_test.go
gitea_downloader.go
gitea_uploader_test.go
gitea_uploader.go
github_test.go
github.go Handle branch name with prefix in GitHub migration (#20357) 2022-11-03 10:32:52 +08:00
gitlab_test.go
gitlab.go
gogs_test.go
gogs.go
http_client.go
main_test.go
migrate_test.go
migrate.go
onedev_test.go
onedev.go
restore.go
update.go