summaryrefslogtreecommitdiff
path: root/RemoteDaemon/Types.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2014-04-20 15:45:14 -0400
committerGravatar Joey Hess <joey@kitenet.net>2014-04-20 15:45:14 -0400
commit777747f082c07106beadead4f15aac85a48c9dd0 (patch)
treee4abe430f3b6fe77fedde527373cfdddc4c938a9 /RemoteDaemon/Types.hs
parent619919bd49c342de60a63f16c835f0dd4acb9acb (diff)
fix RELOAD
Diffstat (limited to 'RemoteDaemon/Types.hs')
-rw-r--r--RemoteDaemon/Types.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/RemoteDaemon/Types.hs b/RemoteDaemon/Types.hs
index 0e44874d2..0a7269534 100644
--- a/RemoteDaemon/Types.hs
+++ b/RemoteDaemon/Types.hs
@@ -30,6 +30,10 @@ type RemoteRepo = Git.Repo
type LocalRepo = Git.Repo
-- All Transports share a single AnnexState MVar
+--
+-- Different TransportHandles may have different versions of the LocalRepo.
+-- (For example, the ssh transport modifies it to enable ssh connection
+-- caching.)
data TransportHandle = TransportHandle LocalRepo (MVar Annex.AnnexState)
-- Messages that the daemon emits.