On Mon, Mar 20, 2006 at 05:41:09PM +0000, Angus Leeming wrote:
> Georg Baum <[EMAIL PROTECTED]> writes:
> 
> > 
> > Lars,
> > 
> > what are we going to do? Currently Abdel keeps putting in more and more
> > files with mixed line endings. This should be stopped as soon as possible.
> > 
> > I can do the eol-style conversion if we are going to use that. Otherwise,
> > please install the precommit-hook.
> 
> Why not make the precommit-hook something like:
> 
>     sed 's/\r$//' orig.diff > unix_line_endings.diff
> 
> There's no real reason to beat the developers up over something that can be
> fixed automatically.

Modifing committed data is frowned upon on the svn lists because it
makes the client believe it has a 1:1 copy of the (afterwards modified)
server data while it hasn't.

However, my own experiments with such did not show exceptionally bad
behaviour, so I personally would not mind such a measure.

Andre'

Reply via email to