[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Strip trailing whitespace

From: Olaf van der Spek <olafvdspek_at_gmail.com>
Date: Tue, 6 Oct 2009 15:35:25 +0200

On Tue, Oct 6, 2009 at 3:08 PM, Jean-Marc van Leerdam
<j.m.van.leerdam_at_gmail.com> wrote:
> If it is a policy to remove trailing whitespace on specific file
> types, create a server side pre-commit hook that tests for the
> presence of trailing whitespace and rejects the commit if it is found.

That's not the solution I'm after.

> That leaves it up to the developer to properly remove the trailing
> whitespace or label the file in such a way that trailing whitespace is
> allowed (by setting the proper MIME type for example).
>
> The same can be done for tab/space indentation inside files.
>
> --
> Regards,
>
> Jean-Marc
> --
> .       ___
> .  @@  // \\      "De Chelonian Mobile"
> . (_,\/ \_/ \     TortoiseSVN
> .   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
> .   /_/   \_\     http://tortoisesvn.net
>
> ------------------------------------------------------
> http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2404070
>
> To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
>

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2404084

To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-10-06 15:38:05 CEST

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.