delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/09/28/14:44:50

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Rolf Campbell <thats DOT unpossible AT gmail DOT 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 AT mail DOT gmail DOT com>
Mime-Version: 1.0
User-Agent: Thunderbird 3.0a1 (Windows/20060927)
In-Reply-To: <860934040609271346ue482106q9af69c06d6ee000f@mail.gmail.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019