info-cvs
[Top][All Lists]
Advanced

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

Re: Option to ignore Windows linefeeds when diff-ing


From: Paul Gelderblom \(ptok\)
Subject: Re: Option to ignore Windows linefeeds when diff-ing
Date: Wed, 3 Mar 2004 09:16:08 +0100

> We have a problem whereby some developers checkin files (via commandline
on
> Unix/CVS host) that may have been edited on Windows PCs.
That is the root of the problem.
Developers working on PCs should use a PC cvs client to checkout their text
files in a sandbox on a PC- and they will work in CRLF format
Developers working on Unix use a Unix client to checkout to a sandbox on a
Unix system.
CVS maps this problemless for text files.

As soon as people start using PC tools on Unix files (e.g. via samba mounts)
you are in trouble.
But there is no need to do so: just checkout a PC version of the file on a
PC.

By the way, there are _diff_ tools that can ignore linefeeds types, but the
CVS client/server system will still look at them and honour them. In the end
you may even end up with double linefeeds in some files.

Paul Gelderblom





reply via email to

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