fix build on windows

Sponsored-by: Dartmouth College's Datalad project
This commit is contained in:
Joey Hess 2021-07-01 12:51:31 -04:00
parent d9124bb8ce
commit 898a677bce
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
2 changed files with 3 additions and 1 deletions

View file

@ -55,7 +55,7 @@ testCp k option = TestCase cmd $ testCmd k cmdline
testCpReflinkAuto :: TestCase
#ifdef mingw32_HOST_OS
-- Windows does not support reflink so don't even try to use the option.
testCpReflinkAuto = TestCase k (Config k (BoolConfig False))
testCpReflinkAuto = TestCase k (return $ Config k (BoolConfig False))
#else
testCpReflinkAuto = testCp k "--reflink=auto"
#endif

View file

@ -2,3 +2,5 @@ As of commit 0a9a9c44e, trying to build git-annex on Windows fails because due t
[[!meta author=jwodder]]
[[!tag projects/datalad]]
> [[done]] thankyou! --[[Joey]]