]> source.dussan.org Git - gitea.git/commit
tests: missing refs/ in bare repositories (#28844)
authorAdam Majer <amajer@suse.de>
Fri, 19 Jan 2024 07:12:21 +0000 (07:12 +0000)
committerGitHub <noreply@github.com>
Fri, 19 Jan 2024 07:12:21 +0000 (15:12 +0800)
commit075c4c89ee28590bd4ab8f6cf7338d723c4696eb
tree6f64b365bd348bce64ddd218ef4b135e5200e5ca
parent1167d523c4c24eba4c159cda04e49a49f458afbf
tests: missing refs/ in bare repositories (#28844)

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.
tests/gitea-repositories-meta/user2/test_commit_revert.git/refs/heads/main [new file with mode: 0644]