{"thread":{"id":"25226","subject":"Getting rid of \"mode change\" on cygwin","startedAt":"2010-09-24T18:57:59Z","lastAt":"2010-09-24T19:36:53Z","messageCount":2,"participants":["Maaartin","Andreas Schwab"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"151525","messageId":"loom.20100924T205622-57@post.gmane.org","threadId":"25226","inReplyTo":null,"subject":"Getting rid of \"mode change\" on cygwin","fromName":"Maaartin","fromEmail":"grajcar1@seznam.cz","sentAt":"2010-09-24T18:57:59Z","receivedAt":"2010-09-24T18:57:59Z","isPatch":false,"sender":{"key":"grajcar1@seznam.cz","avatar":null},"body":"I just switched from svn to git and in my first git commit all files get status \nmodified with\n\nmode change 100644 => 100755\n\nI don't care about the file mode much, the 755 mode makes no sense but is \nprobably some cygwin magic, as it may be hard to emulate the perms, so it simply \nconsiders all files as executables. I can't change the mode, since chmod a-x \ndoes nothing at all. Actually, I don't care about the perms at all, I'd be happy \nif git would show \"no change\" for unchanged files.\n"},{"id":"151534","messageId":"m2tylf9bmy.fsf@igel.home","threadId":"25226","inReplyTo":"loom.20100924T205622-57@post.gmane.org","subject":"Re: Getting rid of \"mode change\" on cygwin","fromName":"Andreas Schwab","fromEmail":"schwab@linux-m68k.org","sentAt":"2010-09-24T19:36:53Z","receivedAt":"2010-09-24T19:36:53Z","isPatch":false,"sender":{"key":"schwab@linux-m68k.org","avatar":"https://avatars.githubusercontent.com/u/2175493?v=4"},"body":"Maaartin <grajcar1@seznam.cz> writes:\n\n> I just switched from svn to git and in my first git commit all files get status \n> modified with\n>\n> mode change 100644 => 100755\n>\n> I don't care about the file mode much, the 755 mode makes no sense but is \n> probably some cygwin magic, as it may be hard to emulate the perms, so it simply \n> considers all files as executables. I can't change the mode, since chmod a-x \n> does nothing at all. Actually, I don't care about the perms at all, I'd be happy \n> if git would show \"no change\" for unchanged files.\n\n$ git config core.filemode false\n\nAndreas.\n\n-- \nAndreas Schwab, schwab@linux-m68k.org\nGPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5\n\"And now for something completely different.\"\n"}]}