diff options
author | Steffen Prohaska <prohaska@zib.de> | 2008-05-11 18:16:42 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-05-11 11:31:51 -0700 |
commit | 8a19aaab6394df2c6138d5b8b1411eb00bfcf442 (patch) | |
tree | 1833d2def525c6e7a39486d9709414c5914dad69 /t/t0050-filesystem.sh | |
parent | b4a299d87ca7a1d39c699ee2af28305e57f3b0ae (diff) | |
download | git-8a19aaab6394df2c6138d5b8b1411eb00bfcf442.tar.gz |
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 <prohaska@zib.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t0050-filesystem.sh')
-rwxr-xr-x | t/t0050-filesystem.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/t/t0050-filesystem.sh b/t/t0050-filesystem.sh index 399b45df1f..0e33c4bdc7 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 && |