diff options
author | Adam Majer <amajer@suse.de> | 2024-01-19 07:12:21 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-19 15:12:21 +0800 |
commit | 075c4c89ee28590bd4ab8f6cf7338d723c4696eb (patch) | |
tree | 6f64b365bd348bce64ddd218ef4b135e5200e5ca /tests | |
parent | 1167d523c4c24eba4c159cda04e49a49f458afbf (diff) | |
download | gitea-075c4c89ee28590bd4ab8f6cf7338d723c4696eb.tar.gz gitea-075c4c89ee28590bd4ab8f6cf7338d723c4696eb.zip |
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.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/gitea-repositories-meta/user2/test_commit_revert.git/refs/heads/main | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/gitea-repositories-meta/user2/test_commit_revert.git/refs/heads/main b/tests/gitea-repositories-meta/user2/test_commit_revert.git/refs/heads/main new file mode 100644 index 0000000000..ab80ca3ca6 --- /dev/null +++ b/tests/gitea-repositories-meta/user2/test_commit_revert.git/refs/heads/main @@ -0,0 +1 @@ +deebcbc752e540bab4ce3ee713d3fc8fdc35b2f7 |