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

Re: Bug in git on windows

From
Torsten Bögershausen <tboegi@web.de>
Date
Aug 11, 2013, 08:49 UTC
Message-ID
<52075010.5030808@web.de>
In-Reply-To
<CAHHiLxTsTrQy3PBHSpMTUHpRMWnKwgzf=nSuUrZU3cniK6=vvg@mail.gmail.com>
On 2013-08-11 08.45, Илья Воронцов wrote:
Show 8 quoted lines
> git under windows doesn't check case of letters in filename. So when
> one rename for example images from *.JPG to *.jpg, git doesn't files
> in a repository so when one deliver this repo on *nix -system, old
> filenames preserve and this matters.
> It can be very confusing when some of assets in your website on server
> can't be loaded after deploy, though on windows all was ok.
> Possibly git windows shall identify changed case of symbols and
> suggested to rename files in commit.

It does (but this is disabled by default), you can try git config core.ignorecase false /Torsten

Previous: Илья Воронцов
Message 2 of 2 in “Re: Bug in git on windows”
  1. Илья ВоронцовAug 11, 2013
  2. Torsten BögershausenAug 11, 2013

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.