Skip to content

Commit

Permalink
tests: missing refs/ in bare repositories (go-gitea#28844) (go-gitea#…
Browse files Browse the repository at this point in the history
…28852)

Backport go-gitea#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>
  • Loading branch information
GiteaBot and AdamMajer authored Jan 19, 2024
1 parent 8b5c918 commit 89960c3
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
deebcbc752e540bab4ce3ee713d3fc8fdc35b2f7

0 comments on commit 89960c3

Please sign in to comment.