MVar deadlock problem seems to be fixed by previous commit

This commit is contained in:
Joey Hess 2012-06-28 13:47:15 -04:00
parent 4888c5b042
commit a3636602ab

View file

@ -28,9 +28,6 @@ mergeThread st = do
let dir = Git.localGitDir g </> "refs" </> "heads" </> "synced"
createDirectoryIfMissing True dir
let hook a = Just $ runHandler g a
-- XXX: For reasons currently unknown, using the ThreadState
-- inside the watch hooks leads to a MVar deadlock.
-- Luckily, we don't currently need to do that.
let hooks = mkWatchHooks
{ addHook = hook onAdd
, errHook = hook onErr