Files
2026-07-13 13:05:14 +08:00

13 lines
386 B
Bash
Executable File

#!/bin/sh
# This is a shim to call through to the managed pre-push hook.
# See: hooks/README.md for more details.
repo_root=$(git rev-parse --show-toplevel)
pre_push_hook=$repo_root/scripts/pre-push.sh
if [ -f "$pre_push_hook" ]; then
exec $pre_push_hook # --skip lint-codegen
else
echo "The pre-push hook appears to be missing from: $pre_push_hook -- Skipping."
exit 0
fi