[phobos] Annoying whitespace diffs

Leandro Lucarella luca at llucax.com.ar
Sun Aug 22 19:37:45 PDT 2010


Walter Bright, el 22 de agosto a las 14:20 me escribiste:
> A lot of checkins to Phobos wind up with a lot of invisible changes,
> because:
> 
> 1. random addition and subtraction of tabs
> 2. random appearance and disappearance of trailing whitespace
> 
> I'd like to put an end to this, with the following rules:
> 
> 1. no tabs are allowed
> 2. no trailing whitespace is allowed
> 
> I use this program to do filter my checkins which takes care of it,
> feel free to use it or some equivalent.

Maybe is too extreme, but you can add pre-commit-hook[1] to directly
reject commits that have tabs or trailing white spaces.

[1] http://svnbook.red-bean.com/en/1.1/ch05s02.html#svn-ch-5-sect-2.1

-- 
Leandro Lucarella (AKA luca)                     http://llucax.com.ar/
----------------------------------------------------------------------
GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145  104C 949E BFB6 5F5A 8D05)
----------------------------------------------------------------------
Con vos hay pica, patovica!
	-- Sidharta Kiwi


More information about the phobos mailing list