Re: [PATCH] Demonstrate failure of 'core.ignorecase = true'
- From
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
- Date
- Mar 22, 2012, 11:25 UTC
- Message-ID
- <4F6B0C3E.8090501@in.waw.pl>
- In-Reply-To
- <4F6ACB67.1080503@viscovery.net>
On 03/22/2012 07:49 AM, Johannes Sixt wrote:
Show 14 quoted lines
> 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:
...
> What am I missing?
The OP meant a case-sensitive fs, not an insensitive one. "On a filesystem that *is* case-sensitive, ..."
This is a question about core.ignorecase=true. The description in git-config(1) is so vague, that it's hard to say what behaviour is expected.
Zbyszek