[Top][All Lists]

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

RE: Using dos2unix on commit???

From: Frederic Brehm
Subject: RE: Using dos2unix on commit???
Date: Fri, 13 Jun 2003 15:51:06 -0400

At 03:25 PM 6/13/2003, Andy Kriger wrote:
As background, what is prompting this need is multiple developers with
different IDEs making connections to CVS. Since there's no way to be sure
what line format is being used, I'm looking for consistency.

Good luck.

The way to decrease the chances of line ending problems is to use a CVS client that always uses the local system native text format.

All editors that I am familiar with that are "multilingual" with respect to line ending formats will preserve the original format of the file by default. A reasonable IDE will create text files in the local system native format. If an IDE gives you a choice for line endings, always choose the local system native format.

Watch out for users who checkout on one system and edit the files on another system using a cross-mounted file system.

Also watch out for editors or IDE's that insist on doing text the one true way that's different from the local system native format. I can't think of any of those, but maybe you know of some.


Frederic W. Brehm, Sarnoff Corporation,

reply via email to

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