[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: CVS converts EOL characters to match platform?
From: |
Spiro Trikaliotis |
Subject: |
Re: CVS converts EOL characters to match platform? |
Date: |
Mon, 28 Aug 2006 14:20:03 +0200 |
User-agent: |
Mutt/1.5.9i |
Hello Mikael,
* On Mon, Aug 28, 2006 at 01:23:24PM +0200 Petterson Mikael wrote:
> Does anyone know if CVS converts end of line characters
> to match the platform?
Yes, it does. To prevent this, you have to checkin everything in
'binary' mode (-kb). Every other option (-k...) performs this
conversion.
Notes:
1. To be more precise: CVS does not do this conversion; it lets the
C run-time do this.
2. If you use CVS on Cygwin, and Cygwin is set to use Unix line endings
(which I do not recommend, as it results in other problems), then
there will be no conversion. Note, however, that some of the outputs
of CVS look ugly in this case, too.
HTH,
Spiro.
--
Spiro R. Trikaliotis http://opencbm.sf.net/
http://www.trikaliotis.net/ http://www.viceteam.org/