From 00497fd38e0d239d663af3c9d6826619c23f3fe2 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 2 Jul 2020 11:46:26 -0400 Subject: [PATCH] fix windows build --- Remote/Git.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Remote/Git.hs b/Remote/Git.hs index 7c51265296..802d093abd 100644 --- a/Remote/Git.hs +++ b/Remote/Git.hs @@ -632,8 +632,8 @@ copyFromRemote'' repo forcersync r st@(State connpool _ _ _ _) key file dest met `onException` liftIO forcestop copyFromRemoteCheap :: Remote -> State -> Git.Repo -> Maybe (Key -> AssociatedFile -> FilePath -> Annex ()) -copyFromRemoteCheap r st repo #ifndef mingw32_HOST_OS +copyFromRemoteCheap r st repo | not $ Git.repoIsUrl repo = Just $ \key _af file -> guardUsable repo (giveup "cannot access remote") $ do gc <- getGitConfigFromState st loc <- liftIO $ gitAnnexLocation key repo gc