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:
Frederik “Freso” S. Olesen
2016-08-04 21:46:16 +02:00
parent e3b39b7233
commit c6dec4518a
2 changed files with 1 additions and 1 deletions
Regular → Executable
View File