Commit Graph

11 Commits

Author SHA1 Message Date
Talia 585d988a0b Improve variables available for pre-commit hooks 2022-09-01 12:55:30 +02:00
Talia 71e8ebbed5 Add WORK_DIR variable to pre-commit hook
This is necessary to allow validations &c. to easily run uncommitted
or ignored scripts from the working directory.
2022-08-10 08:52:07 +02:00
Talia 50c1f72172 Change pre-commit hook to call commands in new shell 2022-07-01 13:30:27 +02:00
Talia dcd8307c54 Improve git hook output 2022-06-14 15:46:48 +02:00
Talia 802e57791e Remove -rf flag from rm command in git hook
Technically the --recursive flag should be ignored for symlinks, but
it nonetheless seems safer to not have the flag.
2022-06-14 15:16:42 +02:00
Talia 357a404895 Fix local pre-commit hooks not running 2022-05-27 10:27:19 +02:00
Talia 4c74a58aac Add filter and validation functions to pre-commit hook 2021-02-15 14:37:43 +01:00
Talia 36a376a323 Add git hooks to call in-project git hooks as well 2021-02-08 13:36:02 +01:00
Talia 1480cbbd96 Change pre-commit hook to use temp directory 2021-01-25 13:22:31 +01:00
Talia 91d7bd2224 Fix "off" option for git indentation hook 2021-01-21 14:20:52 +01:00
Talia f73ffc18cd Add pre-commit hook to check indentation 2021-01-20 16:09:55 +01:00