aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-01-07 13:26:35 -0800
committerJunio C Hamano <gitster@pobox.com>2015-01-07 13:26:35 -0800
commit3d8a54eb37d298c251c0b6823dc06935a611bc33 (patch)
tree416b160751843dfe4be1fd044f8b366ddd9592ac /t
parent5c8213a7696b3d9e29feda2516e350d03d7bd9a4 (diff)
parent6aaf956b08cfab2dcaa1a1afe4192390d0ef14fd (diff)
downloadgit-3d8a54eb37d298c251c0b6823dc06935a611bc33.tar.gz
git-3d8a54eb37d298c251c0b6823dc06935a611bc33.tar.xz
Merge branch 'jk/dotgit-case-maint-1.8.5' into maint-1.8.5
* jk/dotgit-case-maint-1.8.5: is_hfs_dotgit: loosen over-eager match of \u{..47}
Diffstat (limited to 't')
-rwxr-xr-xt/t1450-fsck.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/t/t1450-fsck.sh b/t/t1450-fsck.sh
index 6edd99a81..0279b2b1c 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