[Webkit-unassigned] [Bug 96934] Files with CRLF lineendigs without svn:eol-style=native kills git svn repositories

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 14 14:17:58 PST 2013


https://bugs.webkit.org/show_bug.cgi?id=96934





--- Comment #12 from Tony Chang <tony at chromium.org>  2013-02-14 14:20:14 PST ---
(In reply to comment #11)
> (In reply to comment #10)
> > This feels weird to me if you use svn on Windows, you'll get the files with LFs.
> 
> You will if you use Cygwin's Subversion, which I guess is what most people use. But does Visual Studio actually care if it's LF? (I know Visual Studio will change the file to CRLF if you edit it in VS, but Subversion should handle that just fine.)

1) You checkout the file with Cygwin Subversion.  The file will be LF.
2) You edit the file in Visual Studio and save.  The file is now CRLF.
3) You run svn diff, now every line shows up as a diff now.
4) You commit the file with Cygwin Subversion.  The file goes back in as LF.

Alternately:
1) You checkout the file with Window Subversion.  The file will be CRLF.
2) You edit the file in Visual Studio and save.  The file is still CRLF.
3) You run svn diff, you only see your changes.
4) You commit the file with Windows Subversion.  The file goes back in as CRLF.

Both of these sound suboptimal.  Is there no way to set .gitattributes to work the same way as subversion?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list