X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.2 required=5.0	tests=AWL,BAYES_05,FREEMAIL_FROM,SPF_HELO_PASS,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Michael Lutz <Michi_cc@gmx.net>
Subject: Re: Invoking GUI programs over SSH
Date: Fri, 21 Jan 2011 15:03:39 +0100
Lines: 23
Message-ID: <ihc3nt$ulh$1@dough.gmane.org>
References: <AANLkTi=m0aJ+xo6Gcr_CYWtMcVJjc0SBxfubnuXeg3Br@mail.gmail.com>	<4D34BD64.9050904@bopp.net>	<AANLkTi=9rNRhtx=dwQari9v+Rrsun9Yg1VwgTnZoNeLz@mail.gmail.com>	<AANLkTikujecFG_j4-E1z8tD_9Zupy1TpW_cdFeJ52XTW@mail.gmail.com>	<ih3ntk$7aj$1@dough.gmane.org>	<AANLkTik5jFdKfG8Gza89zECW92Tu6tdV+xKUk_9=0SgH@mail.gmail.com>	<ih67fc$fnq$1@dough.gmane.org>	<AANLkTik0rxN_Y5AAfoJEs-+KTt87f6MA+f7P_m0KpQBD@mail.gmail.com>	<ih6lo8$ita$3@dough.gmane.org>	<AANLkTikz150UHB_VLvirv2cc4MX8NcwVM2ZiPQ8r7uFk@mail.gmail.com>	<20110119155957.GA12142@ednor.casa.cgf.cx>	<AANLkTimgcSSawumtUp9tAHXxf77zGHstsz5bmu9muOyQ@mail.gmail.com>	<AANLkTinZTWvFyRG2nMZiyRm7=SizNi+LvP-jTZMeYfPe@mail.gmail.com>	<AANLkTimjEN_CoFZ3OJt2WCkFxMTjUG=7Pd3o=aSZsvS-@mail.gmail.com>	<ih8mte$vbp$1@dough.gmane.org>	<AANLkTimesLnJ--NmzbA4voxc aFTAhoNoqUYabTM4o4w3@mail.gmail.com>	<ihbr6s$6ht$1@dough.gmane.org> <AANLkTikCp+deO_cJEaoH27=z8rrWvtRk+fhoMC4e3E=V@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.8.1.23) Gecko/20090812 Lightning/0.9 Thunderbird/2.0.0.23 Mnenhy/0.7.5.0
In-Reply-To: <AANLkTikCp+deO_cJEaoH27=z8rrWvtRk+fhoMC4e3E=V@mail.gmail.com>
OpenPGP: id=31DEFEF1
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
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

Am 21.01.2011 13:06 schrieb David Antliff:
> I suppose it's a bug with git then, since it produces CRLF files on
> check-out (even if they were checked in as LF), [...]

Seems more like a documentation misunderstanding to me:

| core.autocrlf
|
| Setting this variable to "true" is almost the same as setting the text
| attribute to "auto" on all files except that text files are not
| guaranteed to be normalized: files that contain CRLF in the repository
| will not be touched. Use this setting if you want to have CRLF line
| endings in your working directory even though the repository does not
| have normalized line endings. This variable can be set to input, in
| which case no output conversion is performed.

http://www.kernel.org/pub/software/scm/git/docs/git-config.html

Don't set core.autocrlf to true if you don't want to have CRLFs in your
files. Use "input" if you just want to avoid accidentally commit CRLFs.


Michael Lutz


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

