X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Rolf Campbell <thats.unpossible@gmail.com>
Subject:  Re: Bash 3.1.17(8) CR/LF problem
Date:  Thu, 28 Sep 2006 14:43:16 -0400
Lines: 20
Message-ID: <efh545$r9s$1@sea.gmane.org>
References:  <860934040609271346ue482106q9af69c06d6ee000f@mail.gmail.com>
Mime-Version:  1.0
Content-Type:  text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding:  7bit
User-Agent: Thunderbird 3.0a1 (Windows/20060927)
In-Reply-To: <860934040609271346ue482106q9af69c06d6ee000f@mail.gmail.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Malcolm Nixon wrote:
>>>     * Some translate files to a "Local" format (CR/LF on Windows).
>> FCOL, what on earth does an rcs think it's playing at, tampering with 
>> your
>> data?  Any rcs that doesn't give you back exactly what you put into it 
>> is just
>> plain buggy.  Nobody asked for a "automatically mangle my data whether 
>> I want
>> you to or not" feature.
> This is a Perforce 'feature' if you wish to call it that. Perforce
> will translate
> files you have specified as 'Text' to whatever 'Text' means on the local 
> system
> - LF on Unixes and CR/LF on Windows. One potential workaround would be to
> declare the script files as binary files so they aren't touched, but
> then you loose
> the ability to diff.
You can disable that 'feature' in your client settings.  I'm running 
bash scripts checked into a perforce repository in the new bash just 
fine with that feature disabled.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

