summaryrefslogtreecommitdiffstats
path: root/hooks/pre-commit (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Only check src/ directory for whitespace errors in the pre-commit hookYuri Kunde Schlesner2015-08-311-2/+4
| | | | | | | This allows importing of external libraries into externals/ without having to reformat them. Unfortunately it also allows whitespace to be introduced in files like the root CMakeLists.txt, but that is a small downside compared to the tradeoff.
* Fix permissions in pre-commit hookJSFernandes2015-07-141-0/+0
|
* enforce config from hookLectem2015-06-141-16/+17
|
* force no-tab/trailing spaces with git hookLectem2015-06-091-0/+23
Remove unneeded stuff from pre-commit script The check against an empty commit was not needed (it is only a security for the 1st commit after git init). It could also possibly pose problems because of the redirection to /dev/null on some windows systems. newline at EOF & fixed indent