[MSysGit] Windows & executable bit
- From
Ferry Huberts <ferry.huberts@pelagic.nl>
- Date
- Aug 18, 2009, 09:42 UTC
- Message-ID
- <45321.77.61.241.211.1250588523.squirrel@hupie.xs4all.nl>
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