gitea/services/migrations
zeripath ffc08c1914
Do not read or write git reference files directly (#18079)
Git will and can pack references into packfiles and therefore if you write/read the
files directly you will get false results. Instead you should use update-ref and
show-ref. To that end I have created three new functions in git/repo_commit.go that
will do this correctly.

Related #17191

Signed-off-by: Andrew Thornton <art27@cantab.net>
2021-12-23 21:44:00 +08:00
..
codebase.go Add migrate from Codebase (#16768) 2021-12-02 23:24:02 +01:00
codebase_test.go Add migrate from Codebase (#16768) 2021-12-02 23:24:02 +01:00
dump.go Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
error.go
git.go
gitbucket.go
gitea_downloader.go
gitea_downloader_test.go
gitea_uploader.go Do not read or write git reference files directly (#18079) 2021-12-23 21:44:00 +08:00
gitea_uploader_test.go Move repository model into models/repo (#17933) 2021-12-10 09:27:50 +08:00
github.go
github_test.go
gitlab.go
gitlab_test.go
gogs.go
gogs_test.go
http_client.go
main_test.go Add migrate from Codebase (#16768) 2021-12-02 23:24:02 +01:00
migrate.go Move repository model into models/repo (#17933) 2021-12-10 09:27:50 +08:00
migrate_test.go Move user related model into models/user (#17781) 2021-11-24 17:49:20 +08:00
onedev.go
onedev_test.go
restore.go Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
update.go Move more model into models/user (#17826) 2021-11-28 22:11:58 +08:00