The pre-commit hook is executable #408
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/readmet3xt-lab--foxhound!408
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-408"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ColorMeBoom on GitHub · 2026-12-01 22:53 UTC · original
ColorMeBoom:fix/executable-pre-commit-hook→main· +0 −0 · 1 files · 72 commits · closed without merging.githooks/pre-commitwas stored as mode 100644. Git runs a hook only when its file is executable, so on Linux and macOScargo xtask install-hookssetscore.hooksPathbut every commit skips the asset-policy check. The only sign is a hint:This PR only changes the file's mode to 100755. The content is the same, and Windows is unaffected.
Tested on Linux (git, CachyOS):
data.bin. The commit went through and the hook never ran.POLICY: data.bin: file type not on the allowlist, and normal commits pass (asset policy: 1 files ok).🤖 Generated with Claude Code
Pull request closed