diff options
author | Joey Hess <joey@kitenet.net> | 2012-10-12 01:17:45 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-10-12 01:17:45 -0400 |
commit | 98d458727dee6c93ee4d672366449fcadd8a376d (patch) | |
tree | 7d4620c43a2797ffdfc8c668a185f9a08640d7a0 /Assistant/Threads/TransferPoller.hs | |
parent | b40a3410ac24693999b894d6154de3ea2a7ae804 (diff) |
use gitRepo
Diffstat (limited to 'Assistant/Threads/TransferPoller.hs')
-rw-r--r-- | Assistant/Threads/TransferPoller.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Assistant/Threads/TransferPoller.hs b/Assistant/Threads/TransferPoller.hs index 10ed7dd31..afead63ec 100644 --- a/Assistant/Threads/TransferPoller.hs +++ b/Assistant/Threads/TransferPoller.hs @@ -24,7 +24,7 @@ thisThread = "TransferPoller" - of each transfer is complete. -} transferPollerThread :: ThreadState -> DaemonStatusHandle -> NamedThread transferPollerThread st dstatus = thread $ do - g <- runThreadState st $ fromRepo id + g <- runThreadState st gitRepo tn <- newNotificationHandle =<< transferNotifier <$> getDaemonStatus dstatus forever $ do |