mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-24 17:52:56 +01:00
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.go | ||
codebase_test.go | ||
dump.go | ||
error.go | ||
git.go | ||
gitbucket.go | ||
gitea_downloader.go | ||
gitea_downloader_test.go | ||
gitea_uploader.go | ||
gitea_uploader_test.go | ||
github.go | ||
github_test.go | ||
gitlab.go | ||
gitlab_test.go | ||
gogs.go | ||
gogs_test.go | ||
http_client.go | ||
main_test.go | ||
migrate.go | ||
migrate_test.go | ||
onedev.go | ||
onedev_test.go | ||
restore.go | ||
update.go |