[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: line ending conversions

From: Roman Belenov
Subject: Re: line ending conversions
Date: 09 Oct 2001 19:08:52 +0400
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

Matt McClure <address@hidden> writes:

> I noticed that the info node "How to store binary files" says:
>     ... CVS by default converts line endings between the canonical form
>     in which they are stored in the repository (linefeed only), and the
>     form appropriate to the operating system in use on the client (for
>     example, carriage return followed by line feed for Windows NT).
> But I have also noticed some text files in my repository that have CRLF
> line endings.  I think I understand how this happened, but just to
> confirm...
> The files were created with GNU Emacs on Windows 2000, which uses CRLF
> line endings, by default.  They were committed to the repository using
> Cygwin CVS.  Does Cygwin CVS assume that LF is the "form appropriate to
> the operating system on the client", and thus neglect to convert the
> line endings?

Cygwin has concept of binary and text mounts (you can use 'mount'
command without arguments to check mount point types on your
system). In binary-mounted directories, CRLF<->LF translation is
not done for text files so that LF itself is treated as line ending.

                                                        With regards, Roman.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]