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

Re: Ignore / override svn:eol-style=native while checkout / update

From: Ryan Schmidt <subversion-2009b_at_ryandesign.com>
Date: Mon, 6 Jul 2009 19:35:52 -0500

On Jul 6, 2009, at 13:48, David Weintraub wrote:

> On Mon, Jul 6, 2009 at 2:05 PM, Andrey Repin wrote:
>
>> MAC is considered a *nix environment, but it uses CR instead of LF
>> due to
>> historical reasons.

"Mac" is an abbreviation of "Macintosh" and is not an acronym, not to
be confused with the "MAC" in "MAC address" which is an acronym (for
"Media Access Control") and is not related to Macintosh.

>> "Don't use" is not very helpful suggestion, unfortunately :(
>
> Just to clarify:
>
> Mac OS X uses "LF" as the EOL character on text based files. This is
> especially true when you're in the terminal command line environment.
> Older pre-OS X programs will use "CR". If you use shell scripts on the
> Mac, or use VIM, you are using "LF" as the EOL character.
>
> Cygwin can be set to use either "CRLF" or "LF". However, when you
> setup Cygwin, you are highly recommended to use "LF" as in "I highly
> recommend you not pass that police car at 90 MPH on the highway". I
> know people who setup Cygwin to use CRLF because they think it
> improves interoperability, and then are very sorry afterwords.
>
> Use LF on all Unix type files that require LF (like shell scripts, and
> Makefiles), use CR on all Windows files that require CR (like
> VisualStudio configuration files), and "native" on all the other types
> of text files.

You mean "use CRLF on all Windows files that require CRLF". I suspect
no files in serious use today on any platform require CR EOLs.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2368600

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-07-07 02:37:35 CEST

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

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