Re: [PATCH] Demonstrate failure of 'core.ignorecase = true'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03/22/2012 07:49 AM, Johannes Sixt wrote:
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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]