Commit Graph

6 Commits

Author SHA1 Message Date
Natanael Copa
a40a9732c8 githooks: fix pre-commit hook to allow empty source 2019-01-09 15:35:43 +00:00
Natanael Copa
547142025a githooks: skip checksum check for symlink
git will return the target of symlink instead of the content of the file
it points to, which makes the checksum check fail. To fix this we skip
checksum check if object is a symlink.
2018-11-08 10:21:44 +00:00
Jakub Jirutka
6b1401bfbc githooks: add check for file size into pre-commit hook 2017-12-31 01:09:51 +01:00
Jakub Jirutka
328ee5e65c githooks: fix checksum comparison in pre-commit hook
The previous method didn't work for larger files.
2017-12-29 00:54:50 +01:00
Jakub Jirutka
ae664fe0d0 githooks: add pre-commit hook 2017-12-28 23:00:27 +01:00
Jakub Jirutka
35d64d7e35 git: add hook prepare-commit-msg 2017-10-14 21:52:15 +02:00