#!/usr/bin/env sh
# Run the committing checkout's script. A worktree's core.hooksPath can point
# into another checkout, whose scripts may be from a different branch.
script="$(git rev-parse --show-toplevel)/.github/hooks/pre-commit.bash"
[ -f "$script" ] || script="$(dirname "$0")/pre-commit.bash"
exec bash "$script" "$@"
