diff options
author | Joey Hess <joey@kitenet.net> | 2012-04-21 19:42:49 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-04-21 19:42:49 -0400 |
commit | cab63b89f2470d0874e72a4a9e088206fb554c94 (patch) | |
tree | c55bacd12c0d8329e932458a94a808adac332ba5 /Annex.hs | |
parent | b98b69e8c6d9b873a864b79cff857882f67ee576 (diff) |
cache parsed core.sharedrepository
Diffstat (limited to 'Annex.hs')
-rw-r--r-- | Annex.hs | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -37,6 +37,7 @@ import qualified Git import qualified Git.Config import Git.CatFile import Git.CheckAttr +import Git.SharedRepository import qualified Git.Queue import Types.Backend import qualified Types.Remote @@ -88,6 +89,7 @@ data AnnexState = AnnexState , forcebackend :: Maybe String , forcenumcopies :: Maybe Int , limit :: Matcher (FilePath -> Annex Bool) + , shared :: Maybe SharedRepository , forcetrust :: TrustMap , trustmap :: Maybe TrustMap , ciphers :: M.Map EncryptedCipher Cipher @@ -113,6 +115,7 @@ newState gitrepo = AnnexState , forcebackend = Nothing , forcenumcopies = Nothing , limit = Left [] + , shared = Nothing , forcetrust = M.empty , trustmap = Nothing , ciphers = M.empty |