From: Steffen Prohaska Date: Sun, 11 May 2008 16:16:42 +0000 (+0200) Subject: t0050: Add test for case insensitive add X-Git-Tag: v1.5.6-rc0~23^2~1 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=8a19aaab6394df2c6138d5b8b1411eb00bfcf442;p=git.git t0050: Add test for case insensitive add Add should recognize if a file is added with a different case and add the file using its original name. Signed-off-by: Steffen Prohaska Signed-off-by: Junio C Hamano --- diff --git a/t/t0050-filesystem.sh b/t/t0050-filesystem.sh index 399b45df1..0e33c4bdc 100755 --- a/t/t0050-filesystem.sh +++ b/t/t0050-filesystem.sh @@ -77,6 +77,16 @@ $test_case 'merge (case change)' ' ' +$test_case 'add (with different case)' ' + + git reset --hard initial && + rm camelcase && + echo 1 >CamelCase && + git add CamelCase && + test $(git-ls-files | grep -i camelcase | wc -l) = 1 + +' + test_expect_success "setup unicode normalization tests" ' test_create_repo unicode &&