Re: Copying Git repository from Linux to Windows.
On Wed, Jun 15, 2011 at 1:04 PM, viresh kumar <viresh.kumar@st.com> wrote:
Show 10 quoted lines
> On 06/15/2011 04:10 PM, Jakub Narebski wrote:
>> BTW. what filesystem do you use?
>>
>
> It was FAT on memory stick as FAT is also there in Windows PC.
> More observation: All files marked modified had only changes in file permissions.
> i.e. 755 instead of 644. chmod doesn't work with FAT so can't change there permissions
> now.
>
> Problem is not only for symlinks but standard c files too.
Sounds like you should try "git config core.filemode false":
"core.fileMode:
If false, the executable bit differences between the index and
the working copy are ignored; useful on broken filesystems like FAT"(from from http://kernel.org/pub/software/scm/git/docs/git-config.html)