From: Erik Faye-Lund Date: Wed, 15 Jun 2011 11:26:54 GMT Subject: Re: Copying Git repository from Linux to Windows. Message-ID: In-Reply-To: <4DF891CC.1040700@st.com> On Wed, Jun 15, 2011 at 1:04 PM, viresh kumar wrote: > 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)