commit 4ab65b9d5c9a8f50a1952a70768e4c6160973e87 Author: Dominic DiTaranto Date: Sat Nov 8 09:57:12 2025 -0500 precommit diff --git a/hooks/pre-commit b/hooks/pre-commit new file mode 100755 index 0000000..0a55a33 --- /dev/null +++ b/hooks/pre-commit @@ -0,0 +1,11 @@ +#!/bin/sh + +if git diff --cached --name-only --diff-filter=ACMR | xargs grep -nH 'breakpoint' +then + echo "You have breakpoints in your code, remove them before committing!" + echo "If you want to bypass this run git commit --no-verify -m 'msg'" + exit 1 +else + exit 0 +fi +