aboutsummaryrefslogtreecommitdiff
path: root/Annex.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-05-19 15:04:24 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-05-19 15:04:24 -0400
commitbbb2b798aec645f0c0754a5fb4e2fe8a126e2fd4 (patch)
tree5ed2e57712d389841257462d1057e9689905fb58 /Annex.hs
parent11c97d173423bd5d3320124670ccc3b4c8675c06 (diff)
better memoize core.sharedrepository handling
It was memoized, but that was not used consistently. Move it to Types.GitConfig so it will auto-memoize.
Diffstat (limited to 'Annex.hs')
-rw-r--r--Annex.hs3
1 files changed, 0 insertions, 3 deletions
diff --git a/Annex.hs b/Annex.hs
index 2c0d65ee6..48c6b6237 100644
--- a/Annex.hs
+++ b/Annex.hs
@@ -42,7 +42,6 @@ import Annex.Fixup
import Git.CatFile
import Git.CheckAttr
import Git.CheckIgnore
-import Git.SharedRepository
import qualified Git.Hook
import qualified Git.Queue
import Types.Key
@@ -115,7 +114,6 @@ data AnnexState = AnnexState
, uuidmap :: Maybe UUIDMap
, preferredcontentmap :: Maybe (FileMatcherMap Annex)
, requiredcontentmap :: Maybe (FileMatcherMap Annex)
- , shared :: Maybe SharedRepository
, forcetrust :: TrustMap
, trustmap :: Maybe TrustMap
, groupmap :: Maybe GroupMap
@@ -161,7 +159,6 @@ newState c r = AnnexState
, uuidmap = Nothing
, preferredcontentmap = Nothing
, requiredcontentmap = Nothing
- , shared = Nothing
, forcetrust = M.empty
, trustmap = Nothing
, groupmap = Nothing