Does this help?

At the start of this thread, Adam was concerned that the commit contained re-formatting. WIth the commit hook in place, every commit would be forced to fix all formatting errors anywhere near the patched lines, which is exactly what Adam was concerned about. That would continue until all the code was complaint, at which point it might begin to serve the purpose.

I assume the commit hook would run against the patch rather than the entire file, and presumably it would only be a set of regex's rather than a full checkstyle run.

Ian

On 10 Mar 2009, at 21:51, Brian Eaton wrote:

On Tue, Mar 10, 2009 at 1:12 PM, Paul Lindner <[email protected]> wrote:

Could we run these at svn commit time via a pre-commit hook?


That sounds good to me, not sure if we can do that with svn.

Reply via email to