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

Re: enforcing LF-normalization for svn:eol-style=native files (issue #4065)

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Mon, 10 Dec 2012 00:43:49 +0200

Johan Corveleyn wrote on Sun, Dec 09, 2012 at 21:15:24 +0100:
> 2) Am I the only one who wants to protect his repository against this
> corruption? Judging from [1], I don't think so. It doesn't make sense
> that everyone starts writing this pre-commit hook, for something that
> IMHO is an obvious anti-corruption protection. I think every
> repository out there deserves to be protected against this.
>

FWIW, I suggested a hook because you could implement that in about
5 minutes, whereas doing a C code change would take at least 10 times
that (and several weeks if you have to wait for it to appear in a 1.7.x
release that you can install at $WORK). I won't object to C code
verifying the svn:eol-style invariant.

> [1] http://svn.haxx.se/users/archive-2011-10/0287.shtml
>
> --
> Johan
Received on 2012-12-09 23:44:27 CET

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

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