diff options
author | Joey Hess <joeyh@joeyh.name> | 2015-05-19 15:04:24 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2015-05-19 15:04:24 -0400 |
commit | bbb2b798aec645f0c0754a5fb4e2fe8a126e2fd4 (patch) | |
tree | 5ed2e57712d389841257462d1057e9689905fb58 /Annex.hs | |
parent | 11c97d173423bd5d3320124670ccc3b4c8675c06 (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.hs | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -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 |