[phobos] Annoying whitespace diffs

Walter Bright walter at digitalmars.com
Sun Aug 22 15:29:45 PDT 2010



David Simcha wrote:
>  I develop using CodeBlocks, and apparently in its default setup it 
> converts tabs to spaces and snips off trailing whitespace.  On the one 
> hand, this is what's probably causing a lot of the weird diffs, but on 
> the other hand, every time I work on a module that has these defects 
> they automatically get fixed.
>
> Ideally (not sure how well this would work in practice) such simple, 
> mechanical style guidelines would automatically be applied to all code 
> on checkin, i.e. your program or some equivalent would automatically 
> run on the server side on all uploaded code immediately before it's 
> committed to the SVN backend.
>

I agree, but I have no idea how to force that with svn.



More information about the phobos mailing list