t4126: fix "funny directory name" test on Windows (again)
commit776ffd1a303afa8cf581d62e9d0478d112fecdd2
authorJunio C Hamano <gitster@pobox.com>
Fri, 29 Mar 2024 17:21:58 +0000 (29 10:21 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 29 Mar 2024 17:22:34 +0000 (29 10:22 -0700)
tree74fef4c4f16d7eec9e269b278b69f691e811d6d6
parent012c8b307d339873bcdbbe95018ccfff904fc501
t4126: fix "funny directory name" test on Windows (again)

Even though "git update-index --cacheinfo" ought to be filesystem
agnostic,

    $ git update-index --add --cacheinfo "100644,$empty_blob,funny /empty"

fails only on Windows, and this unfortunately makes the approach of
the previous step unworkable.

Resurrect the earlier approach to give up on running the test on
known-bad platforms.  Instead of computing a custom prerequisite,
just use !MINGW we have used elsewhere.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t4126-apply-empty.sh