On 14/10/2011 15:00, Konstantin Kolinko wrote: > 2011/10/14 Mark Thomas <ma...@apache.org>:
>>> How? Some git push (or haw it is called there?) that writes directly >>> to the repository? >> >> git svn dcommit >> >> See: >> http://wiki.apache.org/general/GitAtApache >> >> I had been through the process once to reset the line endings in my >> local repo and I though that would be enough. I think I know how to spot >> this before it happens now so that should be the last of them. How to >> fix it when I spot it is a separate issue. >> > > Huh. > I think the client (git) is broken if it does this. Another fault is > that Subversion server allows it. > > You are on Windows, right? > > I reported the issue to users@subversion, > http://subversion.markmail.org/thread/uovs5c7mgcnyp4an I think this was my fault. See http://stackoverflow.com/questions/1967370/git-replacing-lf-with-crlf Short version: - files in svn might use either CRLF or LF - eol-style: native just handles this - git expects LF - I had enabled core.autocrlf=true which changed everything to LF on commit I have set now core.autocrlf=false and that appears to have fixed things so far... Mark --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org