#!/bin/sh
# jobhunt is LOCAL-ONLY by explicit instruction. Local commits are fine; pushes are not.
#
# The corporate pre-push already blocks any remote outside the Shorthills
# allowlist, so a personal GitHub push would fail anyway. This hook refuses the
# remaining case: pushing to an allowlisted COMPANY repo, which for a job-search
# tool containing a resume and salary expectations is the worst destination.
CORP="C:/ProgramData/GitHooks/pre-push"
if [ -x "$CORP" ]; then "$CORP" "$@" || exit 1; fi
echo "pre-push REFUSED: jobhunt is local-only." >&2
echo "Delete .githooks/pre-push if you genuinely intend to publish, after" >&2
echo "confirming data/ and out/ are still excluded." >&2
exit 1
