Closed alanf closed 8 years ago
Rather than running against all sources in the branch, wouldn't it be much faster for large projects to just run against git rev-parse HEAD^
? Also, it allows for incremental fixing of style, rather than complaining about the entire repo all at once.
Thanks @alanf! Will check this out!
Since this is a compile-time check, the entire repo should be checked, just like the entire repo has to compile....Mainly, I'm considering the case where someone makes a "work in progress" commit and then tries compiling and bypasses the checks.
Closing since I'm not sure that there is any demand for this feature. If anyone would like compile time checks please create a new issue!
Fixes #25
@JALsnipe