git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Copying Git repository from Linux to Windows.

From
Erik Faye-Lund <kusmabite@gmail.com>
Date
Jun 15, 2011, 11:26 UTC
Message-ID
<BANLkTik+oUb1QpVTwJfB30_8FsW=4ZVTxA@mail.gmail.com>
In-Reply-To
<4DF891CC.1040700@st.com>
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)
Previous: viresh kumarNext: viresh kumar
Message 5 of 17 in “Copying Git repository from Linux to Windows.”
  1. viresh kumarJun 15, 2011
  2. Andreas EricssonJun 15, 2011
  3. Jakub NarebskiJun 15, 2011
  4. viresh kumarJun 15, 2011
  5. Erik Faye-LundJun 15, 2011
  6. viresh kumarJun 15, 2011
  7. Andreas EricssonJun 15, 2011
  8. viresh kumarJun 16, 2011
  9. Philippe VaucherJun 16, 2011
  10. viresh kumarJun 16, 2011
  11. Johannes SixtJun 16, 2011
  12. viresh kumarJun 16, 2011
  13. Jakub NarebskiJun 16, 2011
  14. viresh kumarJun 17, 2011
  15. Jakub NarebskiJun 15, 2011
  16. Phil HordJun 20, 2011
  17. Jakub NarebskiJun 15, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.