summaryrefslogtreecommitdiffstats
path: root/tests/resources/pushoptions.git
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-21 05:03:04 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-21 05:03:04 +0000
commit3b8d76c14c6a5f32d1f23f7e952dc4d859d75e9f (patch)
tree773f780ce433e99a5e25775d640778aa8b50d829 /tests/resources/pushoptions.git
parentAdding debian version 1.7.2+ds-1. (diff)
downloadlibgit2-3b8d76c14c6a5f32d1f23f7e952dc4d859d75e9f.tar.xz
libgit2-3b8d76c14c6a5f32d1f23f7e952dc4d859d75e9f.zip
Merging upstream version 1.8.1+ds.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/resources/pushoptions.git')
-rw-r--r--tests/resources/pushoptions.git/HEAD1
-rw-r--r--tests/resources/pushoptions.git/branches/.gitignore0
-rw-r--r--tests/resources/pushoptions.git/config8
-rw-r--r--tests/resources/pushoptions.git/description1
-rwxr-xr-xtests/resources/pushoptions.git/hooks/pre-receive3
-rw-r--r--tests/resources/pushoptions.git/info/exclude6
-rw-r--r--tests/resources/pushoptions.git/objects/info/.gitignore0
-rw-r--r--tests/resources/pushoptions.git/objects/pack/.gitignore0
-rw-r--r--tests/resources/pushoptions.git/refs/heads/.gitignore0
-rw-r--r--tests/resources/pushoptions.git/refs/tags/.gitignore0
10 files changed, 19 insertions, 0 deletions
diff --git a/tests/resources/pushoptions.git/HEAD b/tests/resources/pushoptions.git/HEAD
new file mode 100644
index 0000000..b870d82
--- /dev/null
+++ b/tests/resources/pushoptions.git/HEAD
@@ -0,0 +1 @@
+ref: refs/heads/main
diff --git a/tests/resources/pushoptions.git/branches/.gitignore b/tests/resources/pushoptions.git/branches/.gitignore
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tests/resources/pushoptions.git/branches/.gitignore
diff --git a/tests/resources/pushoptions.git/config b/tests/resources/pushoptions.git/config
new file mode 100644
index 0000000..23d3978
--- /dev/null
+++ b/tests/resources/pushoptions.git/config
@@ -0,0 +1,8 @@
+[core]
+ repositoryformatversion = 0
+ filemode = true
+ bare = true
+ ignorecase = true
+ precomposeunicode = true
+[receive]
+ advertisePushOptions = true
diff --git a/tests/resources/pushoptions.git/description b/tests/resources/pushoptions.git/description
new file mode 100644
index 0000000..498b267
--- /dev/null
+++ b/tests/resources/pushoptions.git/description
@@ -0,0 +1 @@
+Unnamed repository; edit this file 'description' to name the repository.
diff --git a/tests/resources/pushoptions.git/hooks/pre-receive b/tests/resources/pushoptions.git/hooks/pre-receive
new file mode 100755
index 0000000..24f48d3
--- /dev/null
+++ b/tests/resources/pushoptions.git/hooks/pre-receive
@@ -0,0 +1,3 @@
+#!/bin/sh
+printf "${GIT_PUSH_OPTION_1}${GIT_PUSH_OPTION_2}${GIT_PUSH_OPTION_3}" > "${GIT_PUSH_OPTION_0}"
+exit 0
diff --git a/tests/resources/pushoptions.git/info/exclude b/tests/resources/pushoptions.git/info/exclude
new file mode 100644
index 0000000..a5196d1
--- /dev/null
+++ b/tests/resources/pushoptions.git/info/exclude
@@ -0,0 +1,6 @@
+# git ls-files --others --exclude-from=.git/info/exclude
+# Lines that start with '#' are comments.
+# For a project mostly in C, the following would be a good set of
+# exclude patterns (uncomment them if you want to use them):
+# *.[oa]
+# *~
diff --git a/tests/resources/pushoptions.git/objects/info/.gitignore b/tests/resources/pushoptions.git/objects/info/.gitignore
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tests/resources/pushoptions.git/objects/info/.gitignore
diff --git a/tests/resources/pushoptions.git/objects/pack/.gitignore b/tests/resources/pushoptions.git/objects/pack/.gitignore
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tests/resources/pushoptions.git/objects/pack/.gitignore
diff --git a/tests/resources/pushoptions.git/refs/heads/.gitignore b/tests/resources/pushoptions.git/refs/heads/.gitignore
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tests/resources/pushoptions.git/refs/heads/.gitignore
diff --git a/tests/resources/pushoptions.git/refs/tags/.gitignore b/tests/resources/pushoptions.git/refs/tags/.gitignore
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tests/resources/pushoptions.git/refs/tags/.gitignore