[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:06:56 PST 2013


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


Tony Chang <tony at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aroben at webkit.org




--- Comment #10 from Tony Chang <tony at chromium.org>  2013-02-14 14:09:11 PST ---
According to aroben:

"""WebKit's .gitattributes file contains the following:

*.vcproj eol=crlf
*.vsprops eol=crlf
*.sln eol=crlf

This tells git, "When storing this file in the repository, convert all
line endings to LF. When checking out this file to disk, convert all
line endings to CRLF."

If the committed version of the file in the repository contains CRLF
line endings, git will show a diff that converts the CRLF line endings
to LF. eol=crlf means that the line endings *in the repository* should
be LF, so git is trying to fix it.

I think the thing to do is to set svn:eol-style to "native" for all
.vcproj, .vsprops, and .sln files. That way Subversion will commit the
files using LF line endings (like git wants), and check them out using
CRLF on Windows (like Visual Studio wants)."""

This feels weird to me if you use svn on Windows, you'll get the files with LFs.

-- 
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