summaryrefslogtreecommitdiff
path: root/Assistant/Types/Commits.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-03-10 21:36:13 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-03-10 22:10:26 -0400
commit9d5b42222a10050fc733a49c427359f88e8be36c (patch)
tree4fa0b1d6cf4a38ba772557dc4277fbd887020e46 /Assistant/Types/Commits.hs
parente107ddb4507d92303e14ebee3ccdec7662350031 (diff)
assistant: generate better commits for renames
Diffstat (limited to 'Assistant/Types/Commits.hs')
-rw-r--r--Assistant/Types/Commits.hs4
1 files changed, 3 insertions, 1 deletions
diff --git a/Assistant/Types/Commits.hs b/Assistant/Types/Commits.hs
index bb17c578b..12dab8da8 100644
--- a/Assistant/Types/Commits.hs
+++ b/Assistant/Types/Commits.hs
@@ -9,9 +9,11 @@ module Assistant.Types.Commits where
import Utility.TSet
+import Control.Concurrent.STM
+
type CommitChan = TSet Commit
data Commit = Commit
newCommitChan :: IO CommitChan
-newCommitChan = newTSet
+newCommitChan = atomically newTSet