This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cygwin git and Windows native Git differ on flipping permissions


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]