From: Johannes Sixt Date: Thu, 22 Mar 2012 06:49:11 GMT Subject: Re: [PATCH] Demonstrate failure of 'core.ignorecase = true' Message-ID: <4F6ACB67.1080503@viscovery.net> In-Reply-To: <1332370222-5123-1-git-send-email-pj@irregularexpressions.net> Am 3/21/2012 23:50, schrieb Peter J. Weisberg: > +test_expect_failure "diff-files doesn't show case change when ignorecase=true" ' > + git config core.ignorecase true && > + > + touch foo && > + git add foo && > + git commit -m "foo" && > + mv foo FOO && > + > + test -z "$(git diff-files)" > +' I tried this in my git.git clone on Windows (NTFS), and it did not produce the expected failure: D:\Src\mingw-git>git config core.ignorecase true D:\Src\mingw-git>mv git.c GIT.C D:\Src\mingw-git>git diff-files D:\Src\mingw-git>echo %ERRORLEVEL% 0 D:\Src\mingw-git>ls -l [Gg][Ii][Tt].[Cc] -rw-r--r-- 1 jsixt Administ 17166 Mar 22 06:44 GIT.C What am I missing? -- Hannes