fix windows build
This commit is contained in:
parent
8ad433d5f0
commit
00497fd38e
1 changed files with 1 additions and 1 deletions
|
@ -632,8 +632,8 @@ copyFromRemote'' repo forcersync r st@(State connpool _ _ _ _) key file dest met
|
||||||
`onException` liftIO forcestop
|
`onException` liftIO forcestop
|
||||||
|
|
||||||
copyFromRemoteCheap :: Remote -> State -> Git.Repo -> Maybe (Key -> AssociatedFile -> FilePath -> Annex ())
|
copyFromRemoteCheap :: Remote -> State -> Git.Repo -> Maybe (Key -> AssociatedFile -> FilePath -> Annex ())
|
||||||
copyFromRemoteCheap r st repo
|
|
||||||
#ifndef mingw32_HOST_OS
|
#ifndef mingw32_HOST_OS
|
||||||
|
copyFromRemoteCheap r st repo
|
||||||
| not $ Git.repoIsUrl repo = Just $ \key _af file -> guardUsable repo (giveup "cannot access remote") $ do
|
| not $ Git.repoIsUrl repo = Just $ \key _af file -> guardUsable repo (giveup "cannot access remote") $ do
|
||||||
gc <- getGitConfigFromState st
|
gc <- getGitConfigFromState st
|
||||||
loc <- liftIO $ gitAnnexLocation key repo gc
|
loc <- liftIO $ gitAnnexLocation key repo gc
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue