[Top][All Lists]

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

Re: line endings in text files and -kb

From: Ittay Dror
Subject: Re: line endings in text files and -kb
Date: Thu, 11 Sep 2008 19:14:15 +0300
User-agent: Thunderbird (X11/20080724)

Larry Jones wrote:
Ittay Dror writes:
well, i created a file named, marked it as -kb, made some changes
and commits and on the server side,,v appeared to have each commit
as the full file, not a diff. 

Like I said, diff doesn't usually work very well on binary files.
like i said, the file is a text file, it is just marked with -kb so cvs will not modify line endings.
and if my file is not binary (, but is marked as -kb, will CVS try
to merge it? 

CVS has no way to know whether your file is "really" binary or not -- if
you tell CVS it's a binary file, then it will be treated as a binary
file and will not merge it.
yes, but why can't i just say: "don't modify line endings" without meaning the file is binary?
i don't. i want to prevent CVS from converting line endings. the file is
checked out in windows but is later used in linux (it is part of a product
build), but because CVS converts line endings, i get a '/bin/bash^M: bad
interpreter error'

That's not CVS's fault.  If you want to use the file on Linux, you
oh, it is, because cvs decided to change the file without giving me a reasonable way to tell it not to.
should check it out on Linux.  If you can't do that for some reason,
then you need to transfer the file using something that converts the
line endings correctly.

Ittay Dror <address@hidden>

reply via email to

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