tests: missing refs/ in bare repositories (#28844) (#28852)

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>
This commit is contained in:
Giteabot 2024-01-19 15:39:21 +08:00 committed by GitHub
parent 8b5c9186a5
commit 89960c3dfb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -0,0 +1 @@
deebcbc752e540bab4ce3ee713d3fc8fdc35b2f7