Files
foxhound/.githooks/pre-commit
readmet3xt-lab 462c20d505 The pre-commit hook is executable (PR #408 by ColorMeBoom)
Git runs a hook only when its file has the executable bit. The hook was
stored as 100644, so on Linux and macOS `cargo xtask install-hooks` set
core.hooksPath but every commit skipped the asset-policy check, with only
a hint that the hook was ignored. Stored as 100755 now; its content is
unchanged. Windows is unaffected.

Co-Authored-By: jj <30307984+ColorMeBoom@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-02 05:12:06 +05:30

4 lines
128 B
Bash
Executable File

#!/bin/sh
# Enforces the asset policy on every commit. Install with: cargo xtask install-hooks
exec cargo xtask policy --staged