1
mirror of https://github.com/yuzu-emu/yuzu synced 2024-11-05 08:41:18 +01:00
Commit Graph

4 Commits

Author SHA1 Message Date
Yuri Kunde Schlesner
37319fb17f Only check src/ directory for whitespace errors in the pre-commit hook
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.
2015-08-31 07:12:25 -03:00
JSFernandes
256eb24777 Fix permissions in pre-commit hook 2015-07-14 00:58:18 +01:00
Lectem
499171ca64 enforce config from hook 2015-06-14 00:29:56 +02:00
Lectem
85183a702a force no-tab/trailing spaces with git hook
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
2015-06-09 19:59:39 +02:00