[LLVMdev] svn pre-commit hook: help needed

Scott Michel scooter.phd at gmail.com
Tue Feb 17 14:21:23 PST 2009


Anyone out there interested in helping out with a subversion pre-commit hook
to:

- remove trailing whitespace,
- expand tabs to spaces,
- detect 80-col violations,

as well as detect other style guideline breakage?

I just ran into the trailing whitespace problem: Eclipse and other editors
like to trim excess whitespace from source. However, when one commits a
patch with trailing whitespace removed, the extraneous diffs make reading
the patch more difficult.

Reply to me privately if you're interested in helping out.


-scooter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090217/07e158e5/attachment.html>


More information about the llvm-dev mailing list