summaryrefslogtreecommitdiffstats
path: root/tests/resources/pushoptions.git/hooks
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/hooks
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/hooks')
-rwxr-xr-xtests/resources/pushoptions.git/hooks/pre-receive3
1 files changed, 3 insertions, 0 deletions
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