From: Rafael Kitover Date: Sun, 06 Feb 2011 20:29:56 GMT Subject: Re: ignoring file modes completely Message-ID: <4D4F04C4.6020401@io.com> In-Reply-To: On 2/6/2011 1:10 PM, Dmitry Potapov wrote: > On Sun, Feb 06, 2011 at 11:14:30AM -0500, Rafael Kitover wrote: >> $ git diff HEAD >> diff --git a/README b/README >> old mode 100644 >> new mode 100755 >> $ git config --global core.filemode >> false > > This is because core.filemode is set in the local configuration: > $ git config core.filemode > true > > Git automatically detects if chmod(2) is supported on the current file > system and sets core.filemode to the corresponding value. Because cygwin > emulates chmod(), git sets core.filemode to true. That was it! Thank you very much. I can now use msysGit and Cygwin git together, very cool.