* Getting rid of "mode change" on cygwin
@ 2010-09-24 18:57 Maaartin
2010-09-24 19:36 ` Andreas Schwab
0 siblings, 1 reply; 2+ messages in thread
From: Maaartin @ 2010-09-24 18:57 UTC (permalink / raw)
To: git
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Getting rid of "mode change" on cygwin
2010-09-24 18:57 Getting rid of "mode change" on cygwin Maaartin
@ 2010-09-24 19:36 ` Andreas Schwab
0 siblings, 0 replies; 2+ messages in thread
From: Andreas Schwab @ 2010-09-24 19:36 UTC (permalink / raw)
To: Maaartin; +Cc: git
Maaartin <grajcar1@seznam.cz> writes:
> 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."
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-09-24 19:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-24 18:57 Getting rid of "mode change" on cygwin Maaartin
2010-09-24 19:36 ` Andreas Schwab
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).