* [MSysGit] Windows & executable bit
@ 2009-08-18 9:42 Ferry Huberts
2009-08-18 10:14 ` [msysGit] " Johannes Schindelin
0 siblings, 1 reply; 9+ messages in thread
From: Ferry Huberts @ 2009-08-18 9:42 UTC (permalink / raw
To: msysgit; +Cc: git
Hi list,
Our project is (also) using msysgit.
Recently we changed the permissions on a file
(a Linux shell script) by this (gitk) patch:
----------------------------- xxxx/SQC/SQC.sh -----------------------------
old mode 100644
new mode 100755
We did this on a Linux machine.
Now on a Windows machine we pull in the change:
This causes problems when checking out the branch on which the change was
made: after a checkout the status of SQC.sh is always 'modified' and we can't
convince git to reset it. I actually succeeded _once_ but can not remember how
I did it.
The file is _always_ dirty.
Is this a bug?
I have to note that when I re-clone the repo I don't have the problem. So it
seems to be somewhere in the 'update the working copy' code?
Ferry
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [msysGit] Windows & executable bit
2009-08-18 9:42 [MSysGit] Windows & executable bit Ferry Huberts
@ 2009-08-18 10:14 ` Johannes Schindelin
2009-08-18 10:23 ` Thomas Rast
0 siblings, 1 reply; 9+ messages in thread
From: Johannes Schindelin @ 2009-08-18 10:14 UTC (permalink / raw
To: Ferry Huberts; +Cc: msysgit, git
Hi,
On Tue, 18 Aug 2009, Ferry Huberts wrote:
> after a checkout the status of SQC.sh is always 'modified' and we can't
> convince git to reset it. I actually succeeded _once_ but can not
> remember how I did it. The file is _always_ dirty.
>
> Is this a bug?
>
> I have to note that when I re-clone the repo I don't have the problem.
> So it seems to be somewhere in the 'update the working copy' code?
git config trust.fileMode false
Ciao,
Dscho
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [msysGit] Windows & executable bit
2009-08-18 10:14 ` [msysGit] " Johannes Schindelin
@ 2009-08-18 10:23 ` Thomas Rast
2009-08-18 11:17 ` Ferry Huberts
2009-08-18 11:55 ` Johannes Schindelin
0 siblings, 2 replies; 9+ messages in thread
From: Thomas Rast @ 2009-08-18 10:23 UTC (permalink / raw
To: Johannes Schindelin; +Cc: Ferry Huberts, msysgit, git
Johannes Schindelin wrote:
>
> git config trust.fileMode false
Isn't that core.filemode ?
--
Thomas Rast
trast@{inf,student}.ethz.ch
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [msysGit] Windows & executable bit
2009-08-18 10:23 ` Thomas Rast
@ 2009-08-18 11:17 ` Ferry Huberts
2009-08-18 12:59 ` Johannes Schindelin
2009-08-18 11:55 ` Johannes Schindelin
1 sibling, 1 reply; 9+ messages in thread
From: Ferry Huberts @ 2009-08-18 11:17 UTC (permalink / raw
To: Thomas Rast; +Cc: Johannes Schindelin, Ferry Huberts, msysgit, git
>
> Isn't that core.filemode ?
>
yep. works
however, the man page says that you'll have to configure it in this way when
you're on a broken filesystem like FAT. We're on NTFS however....
NTFS is also broken then?
excuse me for the questions, I'm really a Linux guy, I know very little about
Windows. I'm just the interface towards the community :-)
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Windows & executable bit
2009-08-18 10:23 ` Thomas Rast
2009-08-18 11:17 ` Ferry Huberts
@ 2009-08-18 11:55 ` Johannes Schindelin
2009-08-18 12:19 ` [msysGit] " Erik Faye-Lund
1 sibling, 1 reply; 9+ messages in thread
From: Johannes Schindelin @ 2009-08-18 11:55 UTC (permalink / raw
To: Thomas Rast; +Cc: Ferry Huberts, msysgit, git
Hi,
On Tue, 18 Aug 2009, Thomas Rast wrote:
> Johannes Schindelin wrote:
> >
> > git config trust.fileMode false
>
> Isn't that core.filemode ?
The matching is actually case-insensitive, but I prefer CamelCase here...
Ciao,
Dscho
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [msysGit] Windows & executable bit
2009-08-18 11:55 ` Johannes Schindelin
@ 2009-08-18 12:19 ` Erik Faye-Lund
2009-08-18 12:59 ` Johannes Schindelin
0 siblings, 1 reply; 9+ messages in thread
From: Erik Faye-Lund @ 2009-08-18 12:19 UTC (permalink / raw
To: Johannes Schindelin; +Cc: Thomas Rast, Ferry Huberts, msysgit, git
On Tue, Aug 18, 2009 at 1:55 PM, Johannes
Schindelin<Johannes.Schindelin@gmx.de> wrote:
>> > git config trust.fileMode false
>>
>> Isn't that core.filemode ?
>
> The matching is actually case-insensitive, but I prefer CamelCase here...
I believe the question was about it being in the trust vs the core section...
--
Erik "kusma" Faye-Lund
kusmabite@gmail.com
(+47) 986 59 656
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [msysGit] Windows & executable bit
2009-08-18 11:17 ` Ferry Huberts
@ 2009-08-18 12:59 ` Johannes Schindelin
0 siblings, 0 replies; 9+ messages in thread
From: Johannes Schindelin @ 2009-08-18 12:59 UTC (permalink / raw
To: Ferry Huberts; +Cc: Thomas Rast, msysgit, git
Hi,
On Tue, 18 Aug 2009, Ferry Huberts wrote:
> > Isn't that core.filemode ?
>
> yep. works
>
> however, the man page says that you'll have to configure it in this way
> when you're on a broken filesystem like FAT. We're on NTFS however....
> NTFS is also broken then?
It is more a question of the ACLs not being properly mappable to POSIX
permissions. So we cannot trust the file mode.
Ciao,
Dscho
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Windows & executable bit
2009-08-18 12:19 ` [msysGit] " Erik Faye-Lund
@ 2009-08-18 12:59 ` Johannes Schindelin
2009-08-18 16:47 ` Johan 't Hart
0 siblings, 1 reply; 9+ messages in thread
From: Johannes Schindelin @ 2009-08-18 12:59 UTC (permalink / raw
To: Erik Faye-Lund; +Cc: Thomas Rast, Ferry Huberts, msysgit, git
Hi,
On Tue, 18 Aug 2009, Erik Faye-Lund wrote:
> On Tue, Aug 18, 2009 at 1:55 PM, Johannes
> Schindelin<Johannes.Schindelin@gmx.de> wrote:
> >> > git config trust.fileMode false
> >>
> >> Isn't that core.filemode ?
> >
> > The matching is actually case-insensitive, but I prefer CamelCase here...
>
> I believe the question was about it being in the trust vs the core
> section...
Bah, you're right. I let myself fool by the lowercase 'm'. Sorry.
Ciao,
Dscho
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Windows & executable bit
2009-08-18 12:59 ` Johannes Schindelin
@ 2009-08-18 16:47 ` Johan 't Hart
0 siblings, 0 replies; 9+ messages in thread
From: Johan 't Hart @ 2009-08-18 16:47 UTC (permalink / raw
To: Johannes Schindelin
Cc: Erik Faye-Lund, Thomas Rast, Ferry Huberts, msysgit, git
Johannes Schindelin schreef:
> Hi,
> Bah, you're right. I let myself fool by the lowercase 'm'. Sorry.
Haha. Looking with developer eyes. I know that problem from someone...
Oh yea, me.
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2009-08-18 16:47 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-18 9:42 [MSysGit] Windows & executable bit Ferry Huberts
2009-08-18 10:14 ` [msysGit] " Johannes Schindelin
2009-08-18 10:23 ` Thomas Rast
2009-08-18 11:17 ` Ferry Huberts
2009-08-18 12:59 ` Johannes Schindelin
2009-08-18 11:55 ` Johannes Schindelin
2009-08-18 12:19 ` [msysGit] " Erik Faye-Lund
2009-08-18 12:59 ` Johannes Schindelin
2009-08-18 16:47 ` Johan 't Hart
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).