Commit Graph

10 Commits (bb4a1e059c269c95ec9f85f5c2149c7cd1c96f02)

Author SHA1 Message Date
N00byKing b326369704
pre-commit: Change comment from citra to yuzu 7 years ago
wwylele fa5bd0ab10 hook: remove clang-format check 8 years ago
Jan Beich 3925f4ff63 hooks: convert pre-commit to POSIX syntax 8 years ago
Ricardo de Almeida Gonzaga 13d46f6820 Fix typos 8 years ago
Emmanuel Gil Peyrot 362659f009 Git hook: Remove trailing semicolons wrecking vim’s syntax highlighting. 8 years ago
Emmanuel Gil Peyrot 491f5bab88 Git hook: Import Dolphin’s clang-format hook. 8 years ago
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.
9 years ago
JSFernandes 256eb24777 Fix permissions in pre-commit hook 10 years ago
Lectem 499171ca64 enforce config from hook 10 years ago
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
10 years ago