delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/04/23/12:55:18

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.5 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_48,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: ABCD <en DOT ABCD AT gmail DOT com>
Subject: Re: Cygwin git and Windows native Git differ on flipping permissions
Date: Thu, 23 Apr 2009 12:54:20 -0400
Lines: 28
Message-ID: <gsq6gb$b6j$1@ger.gmane.org>
References: <7c737f300904221917g5593fd52j90394a9b66d3b914 AT mail DOT gmail DOT com> <49EFD328 DOT 6070000 AT byu DOT net> <7c737f300904221952vfa3356pe267899efdf154ba AT mail DOT gmail DOT com>
Mime-Version: 1.0
User-Agent: Thunderbird 2.0.0.21 (X11/20090328)
In-Reply-To: <7c737f300904221952vfa3356pe267899efdf154ba@mail.gmail.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

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

Alexy Khrabrov wrote:
> Eric -- thanks for the illumination! :)  Now I wonder whether
> respecting the x bit can be a configurable option in git, or Windows
> native folks can make it such, or you can make it such?

Yes, in fact, there is such an option -- core.fileMode.  From git-config(1):

    core.fileMode
        If false, the executable bit differences between the index and
        the working copy are ignored; useful on broken filesystems like
        FAT. See git-update-index(1). True by default.

See git-config(1) for information on how to change the option per
system, per user, or per repo.

- --
ABCD
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknwnTsACgkQOypDUo0oQOrNzgCgxheeF6xDRW5uLBZi4oEfwD9S
pOgAoNirtqb5Sf9oON3JKcVmsg+EJoWt
=B6gV
-----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