Files
libgit2/ci/hooks/pre-receive
bansheerubber c45d1c6e88 push: implement ci tests
We found that the best way to test push options was to receive them via a git hooks script, and output them to a location that the CI tests could read to check and see if the push options were interpreted by git correctly.

Co-Authored-By: pireads <pireads@gmail.com>
Co-Authored-By: lotdeef <lcfisch2@asu.edu>
Co-Authored-By: PSI497 <497.psi.497@gmail.com>
2022-11-30 21:12:53 +01:00

3 lines
83 B
Bash
Executable File

#!/bin/sh
printf "$GIT_PUSH_OPTION_0$GIT_PUSH_OPTION_1$GIT_PUSH_OPTION_2" > %file%