mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Make the pre-commit Git hook executable.
This allows for symlinking it in .git/hooks/ directly[1] or executing
it from within an already existing `pre-commit` hook/script without
calling out to an interpreter in there[2], thus keeping up with any
upstream changes to it automatically.
Follow-up to e3b39b7233 / https://github.com/loot/loot/issues/622
[1] `ln -s ../../scripts/git/pre-commit .git/hooks/pre-commit`
[2] `./scripts/git/pre-commit` vs. `/bin/sh ./scripts/git/pre-commit`
This commit is contained in:
Regular → Executable
Reference in New Issue
Block a user