X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: References: <4D34BD64 DOT 9050904 AT bopp DOT net> <20110119155957 DOT GA12142 AT ednor DOT casa DOT cgf DOT cx> Date: Sat, 22 Jan 2011 01:06:46 +1300 Message-ID: Subject: Re: Invoking GUI programs over SSH From: David Antliff To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Sat, Jan 22, 2011 at 00:37, Thorsten Kampe wrote: > * David Antliff (Fri, 21 Jan 2011 08:47:02 +1300) >> Yes, that would work, but it's not quite that simple - git clones >> files in CRLF format, with the autocrlf option set. > > I don't see the connection to git. Shell scripts should have LF endings. > Trying to find a workaround for that will just require you to create > more and more workarounds and custom scripts which eventually will > break. 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), and as this is an automated system I'd need to either set igncr or run dos2unix or equivalent on each script after check-out (which incidentally will require a script, so I'd probably have to use a language that doesn't care, like Python or Perl, rather than Bash). Either way it's a work-around, unfortunately. But it's OK, I can implement one of these workarounds, at least until git's behaviour changes. Setting up and maintaining Hudson + git + Cygwin on Windows turns out to be a giant collection of workarounds anyway, so what's one more :) Thanks for the advice, -- David. -- 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