Commit graph

16 commits

Author SHA1 Message Date
0602b8516b
Add 'nocommit' check to git pre-commit hook 2024-04-05 12:56:04 +02:00
e366f12b56 Uncomment git validation hook 2024-01-22 14:03:41 +01:00
a6be7b1e30 Refacot & improve git pre-commit hook 2023-12-06 10:31:16 +01:00
585d988a0b Improve variables available for pre-commit hooks 2022-09-01 12:55:30 +02:00
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
50c1f72172 Change pre-commit hook to call commands in new shell 2022-07-01 13:30:27 +02:00
dcd8307c54 Improve git hook output 2022-06-14 15:46:48 +02:00
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
de77f6c33c Pass parameters to prepare-commit-msg hook 2022-05-27 10:50:02 +02:00
357a404895 Fix local pre-commit hooks not running 2022-05-27 10:27:19 +02:00
7245177157 Fixed GIT_DIR for git hooks that don't have it 2021-09-14 10:50:36 +02:00
4c74a58aac Add filter and validation functions to pre-commit hook 2021-02-15 14:37:43 +01:00
36a376a323 Add git hooks to call in-project git hooks as well 2021-02-08 13:36:02 +01:00
1480cbbd96 Change pre-commit hook to use temp directory 2021-01-25 13:22:31 +01:00
91d7bd2224 Fix "off" option for git indentation hook 2021-01-21 14:20:52 +01:00
f73ffc18cd Add pre-commit hook to check indentation 2021-01-20 16:09:55 +01:00