summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAdam Majer <amajer@suse.de>2024-01-19 07:12:21 +0000
committerGitHub <noreply@github.com>2024-01-19 15:12:21 +0800
commit075c4c89ee28590bd4ab8f6cf7338d723c4696eb (patch)
tree6f64b365bd348bce64ddd218ef4b135e5200e5ca /tests
parent1167d523c4c24eba4c159cda04e49a49f458afbf (diff)
downloadgitea-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/main1
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