diff options
Diffstat (limited to 't')
-rwxr-xr-x | t/t1450-fsck.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/t/t1450-fsck.sh b/t/t1450-fsck.sh index 6edd99a81e..0279b2b1c0 100755 --- a/t/t1450-fsck.sh +++ b/t/t1450-fsck.sh @@ -273,4 +273,19 @@ dot-backslash-case .\\\\.GIT\\\\foobar dotgit-case-backslash .git\\\\foobar EOF +test_expect_success 'fsck allows .Ňit' ' + ( + git init not-dotgit && + cd not-dotgit && + echo content >file && + git add file && + git commit -m base && + blob=$(git rev-parse :file) && + printf "100644 blob $blob\t.\\305\\207it" >tree && + tree=$(git mktree <tree) && + git fsck 2>err && + test_line_count = 0 err + ) +' + test_done |