mirror of
https://github.com/go-gitea/gitea.git
synced 2025-02-24 00:19:12 +08:00

Backport #28844 by @AdamMajer Git 2.43.0 will not detect a git repository as valid without refs/ subdirectory present. `git gc` cleans this up and puts it in packed-refs. We must keep refs/ non-empty. Co-authored-by: Adam Majer <amajer@suse.de>