From: Joey Hess Date: Thu, 1 Jul 2021 16:51:31 +0000 (-0400) Subject: fix build on windows X-Git-Tag: archive/raspbian/10.20250416-2+rpi1~2^2^2~69^2~148 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=898a677bce99382293448fd79f5535f9c6e6f315;p=git-annex.git fix build on windows Sponsored-by: Dartmouth College's Datalad project --- diff --git a/Build/Configure.hs b/Build/Configure.hs index a22112507a..5fd172d3db 100644 --- a/Build/Configure.hs +++ b/Build/Configure.hs @@ -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 diff --git a/doc/bugs/Build_fails_on_Windows_as_of_commit_0a9a9c44e.mdwn b/doc/bugs/Build_fails_on_Windows_as_of_commit_0a9a9c44e.mdwn index 1821817b16..8858b884f5 100644 --- a/doc/bugs/Build_fails_on_Windows_as_of_commit_0a9a9c44e.mdwn +++ b/doc/bugs/Build_fails_on_Windows_as_of_commit_0a9a9c44e.mdwn @@ -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]]