#!/bin/bash -e

# http://redsymbol.net/articles/unofficial-bash-strict-mode/
set -euo pipefail
IFS=$'\n\t'

git config --global lfs.storage /workdir/lfs/objects

# Uncomment this if LFS will be needed
# git config --global http.sslVerify false
# git config --global lfs.url git@git.at.dev-my.games:d1/main.git

# TODO: remove this when https://github.com/git-lfs/git-lfs/issues/4685 is fixed
export PATH=".:${PATH}"

python "$(dirname "$0")/runner.py" "${refname}" "${oldrev}" "${newrev}"
