We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 89080fc + 750b2e4 commit 1265886Copy full SHA for 1265886
t/t3910-mac-os-precompose.sh
@@ -140,6 +140,16 @@ test_expect_success "Add long precomposed filename" '
140
git add * &&
141
git commit -m "Long filename"
142
'
143
+
144
+test_expect_failure 'handle existing decomposed filenames' '
145
+ echo content >"verbatim.$Adiarnfd" &&
146
+ git -c core.precomposeunicode=false add "verbatim.$Adiarnfd" &&
147
+ git commit -m "existing decomposed file" &&
148
+ >expect &&
149
+ git ls-files --exclude-standard -o "verbatim*" >untracked &&
150
+ test_cmp expect untracked
151
+'
152
153
# Test if the global core.precomposeunicode stops autosensing
154
# Must be the last test case
155
test_expect_success "respect git config --global core.precomposeunicode" '
0 commit comments