mirror of
https://github.com/lobomfz/VIctory-xmem.git
synced 2026-12-06 05:48:38 +00:00
git refuses to run a hook without an executable bit: it prints one advice hint and runs the commit anyway. The file is stored as 100644, so in every clone the asset-policy gate that 'cargo xtask install-hooks' advertises never runs, silently. Every other shell entry point in the tree is 100755; this is the only one.
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
|