Re: ignoring file modes completely
- From
- Rafael Kitover <rkitover@io.com>
- Date
- Feb 6, 2011, 20:29 UTC
- Message-ID
- <4D4F04C4.6020401@io.com>
- In-Reply-To
- <AANLkTikCKZetZXRCZSLiM73engBcyxNfCtBN5yWdEgRs@mail.gmail.com>
On 2/6/2011 1:10 PM, Dmitry Potapov wrote:
Show 15 quoted lines
> 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.