git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Getting rid of "mode change" on cygwin

From
Andreas Schwab <schwab@linux-m68k.org>
Date
Sep 24, 2010, 19:36 UTC
Message-ID
<m2tylf9bmy.fsf@igel.home>
In-Reply-To
<loom.20100924T205622-57@post.gmane.org>
Maaartin <grajcar1@seznam.cz> writes:
Show 10 quoted lines
> I just switched from svn to git and in my first git commit all files get status 
> modified with
>
> mode change 100644 => 100755
>
> I don't care about the file mode much, the 755 mode makes no sense but is 
> probably some cygwin magic, as it may be hard to emulate the perms, so it simply 
> considers all files as executables. I can't change the mode, since chmod a-x 
> does nothing at all. Actually, I don't care about the perms at all, I'd be happy 
> if git would show "no change" for unchanged files.
$ git config core.filemode false
Andreas.
-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."
Previous: Maaartin
Message 2 of 2 in “Getting rid of "mode change" on cygwin”
  1. MaaartinSep 24, 2010
  2. Andreas SchwabSep 24, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.