]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t0050-filesystem.sh
Merge branch 'wb/fsmonitor-bitmap-fix'
[thirdparty/git.git] / t / t0050-filesystem.sh
index 192c94eccd13c3b251cfc6910ad6ef175312ea13..608673fb775de5e9e83a91aa2455a87dc0cf32ea 100755 (executable)
@@ -131,4 +131,24 @@ $test_unicode 'merge (silent unicode normalization)' '
        git merge topic
 '
 
+test_expect_success CASE_INSENSITIVE_FS 'checkout with no pathspec and a case insensitive fs' '
+       git init repo &&
+       (
+               cd repo &&
+
+               >Gitweb &&
+               git add Gitweb &&
+               git commit -m "add Gitweb" &&
+
+               git checkout --orphan todo &&
+               git reset --hard &&
+               mkdir -p gitweb/subdir &&
+               >gitweb/subdir/file &&
+               git add gitweb &&
+               git commit -m "add gitweb/subdir/file" &&
+
+               git checkout master
+       )
+'
+
 test_done