avoid windows build warning
This commit is contained in:
parent
a95de6bcc7
commit
cfd0b4108e
1 changed files with 2 additions and 0 deletions
|
@ -821,9 +821,11 @@ data State = State Ssh.P2PSshConnectionPool DeferredUUIDCheck CopyCoWTried (Anne
|
||||||
getRepoFromState :: State -> Annex Git.Repo
|
getRepoFromState :: State -> Annex Git.Repo
|
||||||
getRepoFromState (State _ _ _ a) = fst <$> a
|
getRepoFromState (State _ _ _ a) = fst <$> a
|
||||||
|
|
||||||
|
#ifndef mingw32_HOST_OS
|
||||||
{- The config of the remote git repository, cached for speed. -}
|
{- The config of the remote git repository, cached for speed. -}
|
||||||
getGitConfigFromState :: State -> Annex GitConfig
|
getGitConfigFromState :: State -> Annex GitConfig
|
||||||
getGitConfigFromState (State _ _ _ a) = snd <$> a
|
getGitConfigFromState (State _ _ _ a) = snd <$> a
|
||||||
|
#endif
|
||||||
|
|
||||||
mkState :: Git.Repo -> UUID -> RemoteGitConfig -> Annex State
|
mkState :: Git.Repo -> UUID -> RemoteGitConfig -> Annex State
|
||||||
mkState r u gc = do
|
mkState r u gc = do
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue