forked from mirror/gitea
ffc08c1914
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> |
||
---|---|---|
.. | ||
codebase_test.go | ||
codebase.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 | ||
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 |