summaryrefslogtreecommitdiffstats
path: root/modules/git/tests/repos
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2019-07-22 14:03:15 +0200
committerLauris BH <lauris@nix.lv>2019-07-22 15:03:15 +0300
commitfe7689a6b28b644ef309350cf01f563201f44d10 (patch)
tree7d5d5ff94892be59e56eb7d4d59fcadf40e5ff96 /modules/git/tests/repos
parentb0cd3b8ab9b174f11fd4db8737106be5caf9cc1c (diff)
downloadgitea-fe7689a6b28b644ef309350cf01f563201f44d10.tar.gz
gitea-fe7689a6b28b644ef309350cf01f563201f44d10.zip
Fix empty commits now showing in repo overview (#7521)
* Fix empty commits now showing in repo overview * add test * make fmt
Diffstat (limited to 'modules/git/tests/repos')
-rw-r--r--modules/git/tests/repos/repo1_bare/logs/HEAD1
-rw-r--r--modules/git/tests/repos/repo1_bare/logs/refs/heads/master1
-rw-r--r--modules/git/tests/repos/repo1_bare/objects/fe/af4ba6bc635fec442f46ddd4512416ec43c2c2bin0 -> 817 bytes
-rw-r--r--modules/git/tests/repos/repo1_bare/refs/heads/master2
4 files changed, 3 insertions, 1 deletions
diff --git a/modules/git/tests/repos/repo1_bare/logs/HEAD b/modules/git/tests/repos/repo1_bare/logs/HEAD
new file mode 100644
index 0000000000..cef4ca2dcb
--- /dev/null
+++ b/modules/git/tests/repos/repo1_bare/logs/HEAD
@@ -0,0 +1 @@
+37991dec2c8e592043f47155ce4808d4580f9123 feaf4ba6bc635fec442f46ddd4512416ec43c2c2 silverwind <me@silverwind.io> 1563741799 +0200 push
diff --git a/modules/git/tests/repos/repo1_bare/logs/refs/heads/master b/modules/git/tests/repos/repo1_bare/logs/refs/heads/master
new file mode 100644
index 0000000000..cef4ca2dcb
--- /dev/null
+++ b/modules/git/tests/repos/repo1_bare/logs/refs/heads/master
@@ -0,0 +1 @@
+37991dec2c8e592043f47155ce4808d4580f9123 feaf4ba6bc635fec442f46ddd4512416ec43c2c2 silverwind <me@silverwind.io> 1563741799 +0200 push
diff --git a/modules/git/tests/repos/repo1_bare/objects/fe/af4ba6bc635fec442f46ddd4512416ec43c2c2 b/modules/git/tests/repos/repo1_bare/objects/fe/af4ba6bc635fec442f46ddd4512416ec43c2c2
new file mode 100644
index 0000000000..95edd9a65b
--- /dev/null
+++ b/modules/git/tests/repos/repo1_bare/objects/fe/af4ba6bc635fec442f46ddd4512416ec43c2c2
Binary files differ
diff --git a/modules/git/tests/repos/repo1_bare/refs/heads/master b/modules/git/tests/repos/repo1_bare/refs/heads/master
index 4804d9d8fe..c5e92eb229 100644
--- a/modules/git/tests/repos/repo1_bare/refs/heads/master
+++ b/modules/git/tests/repos/repo1_bare/refs/heads/master
@@ -1 +1 @@
-37991dec2c8e592043f47155ce4808d4580f9123
+feaf4ba6bc635fec442f46ddd4512416ec43c2c2