Re: Bug in git on windows

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

Re: Bug in git on windows

From: Илья Воронцов <hidden>
Date: 2016-06-15 22:58:24

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.

Re: Bug in git on windows

From: Torsten Bögershausen <hidden>
Date: 2016-06-15 22:58:24

On 2013-08-11 08.45, Илья Воронцов wrote:
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help