> -----Original Message-----
> From: Steve Huston [mailto:[email protected]]
> Sent: 31 January 2011 23:18
> To: [email protected]
> Subject: RE: Zap trailing whitespace?
> 
> > OK, let me try for consensus around this:
> >
> > Does anyone object to adding an svn hook that (1) strips trailing
> > whitespace, and (2) bans commits that contain tabs?
> 
> I think I'd rather see the hook refuse to do the commit if there are
> trailing whitespace or tabs. On the off chance that svn gets it wrong
> for some odd file type, I'd rather final control be left in a person's
> hands.
> 
> -Steve
> 

Agreed.

Also, I know many of us use git(-svn). You can do things such as enabling
colouring of whitespace errors in diffs etc, or have git fix certain
whitespace errors automatically, or use some additional pre-commit hooks
there too...basically there are various ways it could/can help in getting
such things out of the way before SVN even enters the picture.


Robbie.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to