summaryrefslogtreecommitdiff
path: root/Remote
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2014-12-29 17:25:59 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2014-12-29 17:30:20 -0400
commite79780c0cac64c7b74754e47fc066aa0fc104345 (patch)
tree1baa2628f02698a883f8d0bfc8d362307cfa1d11 /Remote
parentdaa420a9f299c331b24488d133d068ddc451b9aa (diff)
fixed all remaining build warnings on Windows
Diffstat (limited to 'Remote')
-rw-r--r--Remote/Git.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Remote/Git.hs b/Remote/Git.hs
index 04823949c..17b44fa6e 100644
--- a/Remote/Git.hs
+++ b/Remote/Git.hs
@@ -358,7 +358,9 @@ copyFromRemote' r key file dest
| not $ Git.repoIsUrl (repo r) = guardUsable (repo r) (return False) $ do
params <- Ssh.rsyncParams r Download
u <- getUUID
+#ifndef mingw32_HOST_OS
hardlink <- annexHardLink <$> Annex.getGitConfig
+#endif
-- run copy from perspective of remote
onLocal r $ do
ensureInitialized