Ticket #111 (new defect)

Opened 2 years ago

Last modified 2 years ago

Line-end cleanup post-commit script

Reported by: dirk Assigned to: unassigned
Priority: minor Milestone:
Component: Build Version:
Keywords: Cc:
Completion:

Description

A lot of changes come from some editors cleaning up line ends (removing useless spaces). It would be good to just avoid those by removing them automatically on commit.

Change History

10/22/06 04:20:24 changed by cneumann

This page: http://svnbook.red-bean.com/nightly/en/svn.reposadmin.create.html#svn.reposadmin.create.hooks

has a big warning box near the end, which explains that modifying a commit is a bad idea. Maybe a script that cleans all sources and is run (manually) from time to time could be used instead ?

10/22/06 23:20:37 changed by dirk

Hm, too bad. :( Yeah, we could put a test script in the hook that rejects commits that don't follow the style guidelines that we can check and prints the command to run to fix it (if possible).