summaryrefslogtreecommitdiff
path: root/Annex.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Annex.hs')
-rw-r--r--Annex.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/Annex.hs b/Annex.hs
index 07da2a17b..b0ebd81ae 100644
--- a/Annex.hs
+++ b/Annex.hs
@@ -69,6 +69,7 @@ import Utility.Url
import "mtl" Control.Monad.Reader
import Control.Concurrent
+import Control.Concurrent.Async
import qualified Data.Map as M
import qualified Data.Set as S
@@ -134,6 +135,7 @@ data AnnexState = AnnexState
#endif
, existinghooks :: M.Map Git.Hook.Hook Bool
, desktopnotify :: DesktopNotify
+ , workers :: [Either AnnexState (Async AnnexState)]
}
newState :: GitConfig -> Git.Repo -> AnnexState
@@ -179,6 +181,7 @@ newState c r = AnnexState
#endif
, existinghooks = M.empty
, desktopnotify = mempty
+ , workers = []
}
{- Makes an Annex state object for the specified git repo.