[cvsnt] LF or CRLF?
Per Steneskog
md94-pst at nada.kth.se
Sat Jun 28 22:29:03 BST 2003
Hi.
I have far from read through the complete news-archive and only quickly
went through the wiki at www.cvsnt.org. So bashing is allowed. It is
also possible that this question is not CVSNT-specific. If so I apology.
My "problem" is that I would like to use LF (*nix-style) new-lines. I
have trouble getting the IDE (eclipse on Windows) to easily commit the
files with LF instead of CRLF. Also having trouble running diff cause of
different new-lines.
I have heard that CVS (the server?) is intelligent to depend on the OS
of the CVS-client to check-out (or commit?) files with proper new-line.
Though my experience (not CVSNT but CVS-server at linux) is that the
*nix-users might get lovely ^M.
Am I just dumb trying to have LF new-lines within the repository?
Instead, simply whenever I want to distribute to *nix, I should
check-out from such os? (bummer, not available). Current solution is to
strip CRLF->LF after check-out and then distribute.
Best regards
Per Steneskog
More information about the cvsnt
mailing list