delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/08/28/07:56:12

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
X-Authority-Analysis: v=1.0 c=1 a=7Zh7wF0NQRcA:10 a=GFHt2rSJcj8A:10 a=xe8BsctaAAAA:8 a=Nu8XSwY-Pd6bRAFU3_oA:9 a=Nqg8QHJwX2mQZ_jHpbHwp7mdM68A:4 a=eDFNAWYWrCwA:10 a=rPt6xJ-oxjAA:10
Message-ID: <48B6921C.8040403@byu.net>
Date: Thu, 28 Aug 2008 05:55:08 -0600
From: Eric Blake <ebb9 AT byu DOT net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.16) Gecko/20080708 Thunderbird/2.0.0.16 Mnenhy/0.7.5.666
MIME-Version: 1.0
To: cygwin AT cygwin DOT com, mseitz AT yahoo DOT com
Subject: Re: .gitk CR-LF line ending triggers git warning
References: <551315 DOT 53147 DOT qm AT web82408 DOT mail DOT mud DOT yahoo DOT com>
In-Reply-To: <551315.53147.qm@web82408.mail.mud.yahoo.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Matt Seitz on 8/27/2008 11:54 PM:
> Why does ".gitk" use CR-LF line endings instead of just LF?  

Probably because it is designed to be read by TCL/TK, which (for now) is a
native windows program rather than a full-blown cygwin program, so it
needs the help.  I haven't touched anything in this area of git; you may
be better off asking upstream.

> 
> I am experimeinting with using "git" to track changes to my home directory. 
> When I try to commit ".gitk", "git" complains that ".gitk" has trailing
> whtiespace.

Sounds like the addition of a .gitattributes to mark that file exempt from
whitespace tracking may be worthwhile.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             ebb9 AT byu DOT net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAki2khwACgkQ84KuGfSFAYDlkQCeMv53ikn4lbiVfhDE/nBzW7M8
Cj4An12Z1jkkEIXsNEhQOA+Zt3s0x8oi
=3ty2
-----END PGP SIGNATURE-----

--
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