#!/bin/sh # # WinObjC pre-commit hook. # The hook exits with non-zero status after issuing an appropriate message if it wants to stop the commit. # REPO_ROOT=$(git.exe rev-parse --show-toplevel) exec powershell.exe -NoLogo -NoProfile -File ${REPO_ROOT}/scripts/git/pre-commit.ps1