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

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

 



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
--
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]