X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 	tests=AWL,BAYES_00,SPF_SOFTFAIL
X-Spam-Check-By: sourceware.org
Message-ID: <49EFD328.6070000@byu.net>
Date: Wed, 22 Apr 2009 20:32:08 -0600
From: Eric Blake <ebb9@byu.net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.21) Gecko/20090302 Thunderbird/2.0.0.21 Mnenhy/0.7.6.666
MIME-Version: 1.0
To: cygwin@cygwin.com, deliverable@gmail.com
Subject: Re: Cygwin git and Windows native Git differ on flipping permissions
References: <7c737f300904221917g5593fd52j90394a9b66d3b914@mail.gmail.com>
In-Reply-To: <7c737f300904221917g5593fd52j90394a9b66d3b914@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.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

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

According to Alexy Khrabrov on 4/22/2009 8:17 PM:
> -- which come with a Windows-native Git and git-gui.  Strangely, the
> gui shows that permissions of lots of things changed from 100755 to
> 100644.When I agree and add and commit that in the windows gui, back
> on cygwin, git status suddently complains that the permissions changed
> from 100644 to 100755!  Why this weirdness?

Probably because the native windows git is compiled with a flag that
states that the x bit is unreliable (which, in general, Windows apps are
so lousy with their handling of the x bit on NTFS, and it is impossible to
track x bit on FAT, is probably the right thing).  Meanwhile, the cygwin
git is compiled to respect the x bit, because cygwin does a better job of
properly managing x bits on NTFS, and doing a better job of a reasonable
fake of the x bit on FAT.

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

Eric Blake             ebb9@byu.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

iEYEARECAAYFAknv0ygACgkQ84KuGfSFAYAntwCgkORaFpvj4UqPlhlXQCzjmqNd
lzQAn0mGvhQV8LIy+mlyiX+aLQ4Ckoj+
=7rm5
-----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/

