mirror of
https://github.com/readmet3xt-lab/foxhound.git
synced 2026-12-06 09:08:37 +00:00
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>
4 lines
128 B
Bash
Executable File
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
|