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

Re: Odd Difference Between Windows Git and Standard Git

From
Torsten Bögershausen <tboegi@web.de>
Date
May 20, 2016, 15:57 UTC
Message-ID
<b6ab2200-30a1-d0ce-4d4e-097838b74781@web.de>
In-Reply-To
<ba34485d-43cc-ef35-ebc0-67b944a420a7@gmail.com>
On 20.05.16 16:28, Jon Forrest wrote:
Show 16 quoted lines
> 
> 
> On 5/20/2016 7:19 AM, Torsten Bögershausen wrote:
> 
>>> Great question. For all the unexpected files it says the
>>> same thing:
>>>
>>> old mode 100755
>>> new mode 100644
>>
>> So the solution is to run
>> git config  core.filemode false
> 
> This worked perfectly!
> 
> I wonder if this should be the default for Git for Windows.

It is. But you need to clone the repo under Windows.

I probably submit a patch some day, that core.filemode will be ignored under Windows.

Previous: Jon ForrestNext: Junio C Hamano
Message 6 of 17 in “Odd Difference Between Windows Git and Standard Git”
  1. Jon ForrestMay 20, 2016
  2. Torsten BögershausenMay 20, 2016
  3. Jon ForrestMay 20, 2016
  4. Torsten BögershausenMay 20, 2016
  5. Jon ForrestMay 20, 2016
  6. Torsten BögershausenMay 20, 2016
  7. Junio C HamanoMay 20, 2016
  8. Torsten BögershausenMay 20, 2016
  9. Junio C HamanoMay 20, 2016
  10. Johannes SchindelinMay 23, 2016
  11. Jon ForrestMay 23, 2016
  12. Johannes SchindelinMay 23, 2016
  13. Junio C HamanoMay 23, 2016
  14. Torsten BögershausenMay 24, 2016
  15. Johannes SchindelinMay 24, 2016
  16. Torsten BögershausenMay 25, 2016
  17. Johannes SchindelinMay 25, 2016

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.